PHP Classes

MediaFire API PHP Library: Upload and retrieve files to MediaFire service

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 845 All time: 4,115 This week: 455Up
Version License PHP version Categories
mf-lib 0.33BSD License5.0PHP 5, Files and Folders, Web services


This class can upload and retrieve files to MediaFire service.

It can send HTTP requests to MediaFire REST API Web server to perform several types of operations on behalf of an user with a given account. Currently it can:

- Get or renew a session token
- Register, login or get or update the details of an user account
- Get the details of user files
- Delete, rename, update or upload user files
- Set the password of a file
- Create, rename, delete, share and get details of user folders

Picture of windylea
  Performance   Level  
Name: windylea <contact>
Classes: 5 packages by
Country: Viet Nam Viet Nam
Age: 32
All time rank: 14164 in Viet Nam Viet Nam
Week rank: 305 Up1 in Viet Nam Viet Nam Up


MediaFire API PHP Library ________________________________________________________________________________ 1. REQUIREMENTS + PHP5 or higher + JSON extension enabled + OpenSSL extension enabled + (Optional) libxml PHP extension enabled + (Optional) cURL extension enabled ________________________________________________________________________________ 2. HOW TO USE You must first register and create new application in the "My Account" > "Developers" section of MediaFire in order to get an Application ID and an API Key to use this class. Browse the example directory to see basic usage of this class. Also look at the class source and MediaFire website for documentation of the API : ________________________________________________________________________________ 3. ABOUT AND LICENSE Copyright (c) 2012-2013, WindyLea. All right reserved. Website : This project is made under BSD license. See LICENSE file for more information. MediaFireŽ is a registered trademark of the MediaFire, LLC.

  • file-upload-screenshot.png
  Files folder image Files  
File Role Description
Files folder imageexample (2 files)
Accessible without login Plain text file CHANGELOG Doc. ChangeLog
Accessible without login Plain text file LICENSE Lic. License information
Plain text file mflib.php Class Class source
Accessible without login Plain text file README Doc. Readme text

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file file_upload.php Example Example of file uploading
  Accessible without login Plain text file get_user_info.php Example Example of getting user information

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,115
This week:455Up
User Ratings User Comments (1)
 All time
only thanks!
11 years ago (ali)