PHPackages                             naturalweb/nwlaravel-dropbox - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. naturalweb/nwlaravel-dropbox

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

naturalweb/nwlaravel-dropbox
============================

Dropbox SDK Service Provider for the Laravel PHP Framework

v0.1(11y ago)13592BSD-3-ClausePHPPHP &gt;=5.3.0

Since Jun 14Pushed 11y ago2 watchersCompare

[ Source](https://github.com/naturalweb/NwLaravel-Dropbox)[ Packagist](https://packagist.org/packages/naturalweb/nwlaravel-dropbox)[ Docs](https://github.com/naturalweb/NwLaravel-Dropbox)[ RSS](/packages/naturalweb-nwlaravel-dropbox/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (2)Used By (0)

NwLaravel Dropbox
=================

[](#nwlaravel-dropbox)

[![Build Status](https://camo.githubusercontent.com/1cdc5c07d65cbe47d30d495a6b8e2c72a453bbd9300627085eabd1e7f6fc6fd3/68747470733a2f2f7472617669732d63692e6f72672f6e61747572616c7765622f4e774c61726176656c2d44726f70626f782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/naturalweb/NwLaravel-Dropbox)[![Coverage Status](https://camo.githubusercontent.com/d0db2ca8645f6861e0015e48bb68f1d19efd2ba89c7f246fc6f4f12cad7e2b2d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6e61747572616c7765622f4e774c61726176656c2d44726f70626f782f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/naturalweb/NwLaravel-Dropbox?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/42dfb1b8ae027f286a7d5e502abcba8e66373b3d39364334f85b07b745bf04b9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e61747572616c7765622f4e774c61726176656c2d44726f70626f782f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/naturalweb/NwLaravel-Dropbox/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/f1f9094dd588631a9ba172c6163a1a8c37edbcbe9267f191f41bfde91ef19eee/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35396130636330362d646162362d343262352d623736642d3265303833633437663836372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/59a0cc06-dab6-42b5-b76d-2e083c47f867)

This is a service provider for the Laravel PHP Framework, for usage client the of sdk-dropbox. [Core API](https://www.dropbox.com/developers/core/start/php)

### Requirements:

[](#requirements)

- PHP 5.3+, [with 64-bit integers](http://stackoverflow.com/questions/864058/how-to-have-64-bit-integer-on-php)
- PHP [cURL extension](http://php.net/manual/en/curl.installation.php) with SSL enabled (it's usually built-in).
- Must not be using [`mbstring.func_overload`](http://www.php.net/manual/en/mbstring.overload.php) to overload PHP's standard string functions.

[SDK API docs.](http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x)

### Installation

[](#installation)

- [API on Packagist](https://packagist.org/packages/naturalweb/nwlaravel-dropbox)
- [API on GitHub](https://github.com/naturalweb/NwLaravel-Dropbox)

In the `require` key of `composer.json` file add the following

```
"naturalweb/nwlaravel-dropbox": "~0.1"

```

Run the Composer update comand

```
$ composer update

```

In your `config/app.php` add `'NwLaravel\Dropbox\DropboxServiceProvider'` to the end of the `$providers` array

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'NwLaravel\Dropbox\DropboxServiceProvider',

),
```

At the end of `config/app.php` add `'Dropbox'    => 'NwLaravel\Dropbox\DropboxFacade'` to the `$aliases` array

```
'aliases' => array(

    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
    'Dropbox'    => 'NwLaravel\Dropbox\DropboxFacade',

),
```

### Configuration

[](#configuration)

Publish config using artisan CLI.

```
php artisan config:publish naturalweb/nwlaravel-dropbox

```

The configuration to `app/config/packages/naturalweb/nwlaravel-dropbox/config/dropbox.php`. This file will look somewhat like:

```
