Skip to content

This is a service provider for the Silex PHP Micro Framework, for usage client the of sdk-dropbox.

License

Notifications You must be signed in to change notification settings

naturalweb/NwSilex-Dropbox

Repository files navigation

NwSilex Dropbox

Build Status Coverage Status Scrutinizer Code Quality SensioLabsInsight

This is a service provider for the Silex PHP Micro Framework, for usage client the of sdk-dropbox. Core API

Requirements:

SDK API docs.

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();

About

This is a service provider for the Silex PHP Micro Framework, for usage client the of sdk-dropbox.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages