naturalweb/nwsilex-dropbox
Composer 安装命令:
composer require naturalweb/nwsilex-dropbox
包简介
Dropbox SDK Service Provider for the Silex PHP Framework
README 文档
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_overloadto 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();
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-06-14