Download the PHP package jayasuryacodeingil/mega-php-client without Composer
On this page you can find all versions of the php package jayasuryacodeingil/mega-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jayasuryacodeingil/mega-php-client
More information about jayasuryacodeingil/mega-php-client
Files in jayasuryacodeingil/mega-php-client
Download jayasuryacodeingil/mega-php-client
More information about jayasuryacodeingil/mega-php-client
Files in jayasuryacodeingil/mega-php-client
Vendor jayasuryacodeingil
Package mega-php-client
Short Description MEGA API Client Library for PHP.
License MIT
Homepage https://github.com/smartinm/mega-php-client
Package mega-php-client
Short Description MEGA API Client Library for PHP.
License MIT
Homepage https://github.com/smartinm/mega-php-client
Please rate this library. Is it a good library?
Informations about the package mega-php-client
MEGA PHP Client Library
PHP client library for the MEGA API.
Note: This library is still under development and incomplete, so the API is subject to change.
Requirements
- PHP 5.x
- PHP Mcrypt extension
- PHP OpenSSL extension
- PHP cURL extension
Creating the client
Using the constructor
Using a static factory method
This is equivalent to:
Changing the default MEGA API server
Working with public files
Download public files not require authentication.
Gettings file info
Using links
This is equivalents to:
Downloading public files
See below for more examples.
Downloading files
Using streams
Returning content
Saving to disk
Private files
Listing
Downloading
- The function is equivalent to
- The function is equivalent to
User session
Saving session
Restoring session
Status
Operations that don't require user authentication
| Method | Description | Status |
|---|---|---|
public_file_info |
Request public file info | Implemented |
public_file_info_from_link |
Request public file info | Implemented |
public_file_download |
Download a public file | Implemented |
public_file_download_from_link |
Download a public file | Implemented |
public_file_save |
Download and save a public file to disk | Implemented |
public_file_save_from_link |
Download and save a public file to disk | Implemented |
Operations that require user authentication
| Method | Description | Status |
|---|---|---|
node_list |
Retrieve folder or user nodes | Implemented |
node_file_info |
Request file node info | Implemented |
node_file_download |
Download a file node | Implemented |
node_file_save |
Download and save a file node to disk | Implemented |
node_add |
Add/copy nodes | Not implemented |
node_delete |
Delete node | Not implemented |
node_move |
Move node | Not implemented |
node_update |
Set node attributes | Not implemented |
node_publish / node_unpublish |
Create/delete public handle | Not implemented |
node_share |
Create/modify/delete outgoing share | Not implemented |
Credits
-
This library has been written by Sergio Martín (@smartinm) as a port of official MEGA Javascript code.
-
Part of the code is based on the work done by Julien Marchand.
- This projected is licensed under the terms of the MIT license.
All versions of mega-php-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-openssl Version *
ext-curl Version *
ext-sodium Version *
ext-openssl Version *
ext-curl Version *
ext-sodium Version *
The package jayasuryacodeingil/mega-php-client contains the following files
Loading the files please wait ...
