naturalweb/nwsilex-dropbox

Dropbox SDK Service Provider for the Silex PHP Framework

0.1 2014-06-14 14:42 UTC

This package is not auto-updated.

Last update: 2024-04-09 01:08:30 UTC


README

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