naturalweb / nwsilex-dropbox
Dropbox SDK Service Provider for the Silex PHP Framework
0.1
2014-06-14 14:42 UTC
Requires
- php: >=5.3.0
- dropbox/dropbox-sdk: 1.1.*
- silex/silex: ~1.2
Requires (Dev)
- mockery/mockery: 0.7.2
- phpunit/phpunit: 4.0.*
- satooshi/php-coveralls: dev-master
Suggests
- naturalweb/nwsilex: >=0.1
This package is not auto-updated.
Last update: 2024-12-17 04:26:14 UTC
README
This is a service provider for the Silex PHP Micro Framework, for usage client the of sdk-dropbox. Core API
Requirements:
- PHP 5.3+, with 64-bit integers
- PHP cURL extension with SSL enabled (it's usually built-in).
- Must not be using
mbstring.func_overload
to overload PHP's standard string functions.
Installation
In the require
key of composer.json
file add the following
"naturalweb/nwsilex-dropbox": "dev-master"
Run the Composer update comand
$ composer update
Loading providers
In order to load and use a service provider, you must register it on the application
$app->register(new NwSilex\Provider\DropboxServiceProvider(), array( 'dropbox.token' => 'your-token', 'dropbox.app' => 'your-app', ));
Usage
$app['dropbox']->getAccountInfo();