PHPackages                             joyent/php-manta - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. joyent/php-manta

ActiveLibrary[File &amp; Storage](/categories/file-storage)

joyent/php-manta
================

Joyent Manta Object Store SDK for PHP

2.0.0(10y ago)25.9k3MPL-2.0PHP

Since Jan 28Pushed 10y ago20 watchersCompare

[ Source](https://github.com/joyent/php-manta)[ Packagist](https://packagist.org/packages/joyent/php-manta)[ Docs](https://github.com/joyent/php-manta)[ RSS](/packages/joyent-php-manta/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

PHP Manta
=========

[](#php-manta)

[php-manta](http://joyent.github.com/php-manta) is a community-maintained PHP SDK for interacting with Joyent's Manta system.

[![Build Status](https://camo.githubusercontent.com/3fae08b4245e7bc3287be45d312a133121cb2219c362f149347fb8512f745928/68747470733a2f2f7472617669732d63692e6f72672f6a6f79656e742f7068702d6d616e74612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/joyent/php-manta) [![MPL licensed](https://camo.githubusercontent.com/1ebd439082f66f1036c54cafa1ee58129baaf60d0f26b2aa5ebd806e36f5b0be/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d504c5f322e302d626c75652e737667)](https://github.com/joyent/php-manta/blob/master/LICENSE)

Required PHP Framework Features
-------------------------------

[](#required-php-framework-features)

- [OpenSSL](http://php.net/manual/en/openssl.installation.php)
- [JSON](http://php.net/manual/en/json.installation.php) - Installed by default in newest versions
- PHP 5.6+ or HHVM

Installation
------------

[](#installation)

Install using the [packagist package](https://packagist.org/packages/joyent/php-manta)via [composer](https://getcomposer.org/):

```
composer require joyent/php-manta

```

Configuration
-------------

[](#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.

DefaultEnvironment VariableDescriptionMANTA\_URLURL to access MantaMANTA\_USERUser accountMANTA\_SUBUSERSubuser accountMANTA\_KEY\_IDRSA fingerprint id$home/.ssh/id\_rsaMANTA\_KEY\_PATHPath to RSA key20MANTA\_TIMEOUTTimeout in seconds before failing a request3MANTA\_HTTP\_RETRIESTimes to retry failed requestsGuzzleHttp\\Handler\\StreamHandlerMANTA\_HTTP\_HANDLERPHP HTTP implementation namefalseMANTA\_NO\_AUTHDisables authenticationUsage
-----

[](#usage)

For usage examples, see the directory `examples` for some sample scripts that use the API.

Subuser Difficulties
--------------------

[](#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](https://apidocs.joyent.com/manta/commands-reference.html)using the [`mchmod` command](https://github.com/joyent/node-manta/blob/master/docs/man/mchmod.md).

For example:

```
mchmod +subusername /user/stor/my_directory
```

Contributing
------------

[](#contributing)

We are seeking active contributors right now. Pull requests are welcome.

Credits
-------

[](#credits)

Kudos to the original author of php-manta - [Robert Bates](https://twitter.com/arpieb). He developed the library to be used with the Drupal [Backup &amp; Migrate Manta plugin](https://www.drupal.org/project/backup_migrate_manta)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
-------

[](#license)

PHP Manta is licensed under the MPLv2. Please see the `LICENSE` file for more details.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 96.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3761d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5af885f4c47620ba5adea14c6f45a6866f1b7cbe7537c7cae316ed14ce356d4f?d=identicon)[dekobon](/maintainers/dekobon)

---

Top Contributors

[![dekobon](https://avatars.githubusercontent.com/u/490392?v=4)](https://github.com/dekobon "dekobon (26 commits)")[![arpieb](https://avatars.githubusercontent.com/u/449910?v=4)](https://github.com/arpieb "arpieb (1 commits)")

---

Tags

sdkobject-storemantajoyent

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/joyent-php-manta/health.svg)

```
[![Health](https://phpackages.com/badges/joyent-php-manta/health.svg)](https://phpackages.com/packages/joyent-php-manta)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k511.3M2.2k](/packages/aws-aws-sdk-php)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[microsoft/azure-storage-common

This project provides a set of common code shared by Azure Storage Blob, Table, Queue and File PHP client libraries.

4316.8M6](/packages/microsoft-azure-storage-common)[azure-oss/storage

Azure Blob Storage PHP SDK

37985.0k5](/packages/azure-oss-storage)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
