Download the PHP package silinternational/crashplan-php-client without Composer
On this page you can find all versions of the php package silinternational/crashplan-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silinternational/crashplan-php-client
More information about silinternational/crashplan-php-client
Files in silinternational/crashplan-php-client
Package crashplan-php-client
Short Description PHP client library for interacting with CrashPlan API
License MIT
Informations about the package crashplan-php-client
crashplan-php-client
PHP client to interact with the Crashplan API.
We're slowly building out this client as we need the functionality. Initially we only need it for managing user accounts.
This client is built on top of Guzzle, the PHP HTTP Client. Guzzle has a simple way to create API clients by describing the API in a Swagger-like format without the need to implement every method yourself. So adding support for more Crashplan APIs is relatively simple. If you want to submit a pull request to add another feature, please do. If you don't know how to do that, ask us and we might be able to add it in for you.
Crashplan API Authentication
Crashplan uses Basic Auth to authenticate API calls. You must provide the username and password for your API user via parameters and .
Install
Installation is simple with Composer. Add to your file and update.
Usage
Example:
If you host your own Crashplan Enterprise server you can override the default API url:
Guzzle Service Client Notes
- Presentation by Jeremy Lindblom: https://speakerdeck.com/jeremeamia/building-web-service-clients-with-guzzle-1
- Example by Jeremy Lindblom: https://github.com/jeremeamia/sunshinephp-guzzle-examples
- Parameter docs in source comments: https://github.com/guzzle/guzzle-services/blob/master/src/Parameter.php