joyent / php-manta
Joyent Manta Object Store SDK for PHP
Installs: 5 928
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 22
Forks: 4
Open Issues: 0
Requires
- ext-json: *
- ext-openssl: *
- guzzlehttp/guzzle: ^6.1
- ramsey/uuid: ^3.1
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-15 10:29:06 UTC
README
php-manta is a community-maintained PHP SDK for interacting with Joyent's Manta system.
Required PHP Framework Features
Installation
Install using the packagist package via composer:
composer require joyent/php-manta
Configuration
Php-manta can be configured using its constructor or by passing nulls and letting environment variables and defaults configure the client. Here's a list of available environment variables and their defaults.
Usage
For usage examples, see the directory examples
for some sample scripts that
use the API.
Subuser Difficulties
A common problem with subusers is that you haven't granted the subuser access to the
path within Manta. Typically this is done via the Manta CLI Tools
using the mchmod
command.
For example:
mchmod +subusername /user/stor/my_directory
Contributing
We are seeking active contributors right now. Pull requests are welcome.
Credits
Kudos to the original author of php-manta - Robert Bates. He developed the library to be used with the Drupal Backup & Migrate Manta plugin and did all of the initial heavy lifting. On January 4th 2016, Robert transferred ownership of the repository to Joyent and changed the license from the GPLv3 to the MPLv2.
License
PHP Manta is licensed under the MPLv2. Please see the LICENSE
file for more details.