2017 © Pedro Peláez
 

library nwlaravel-dropbox

Dropbox SDK Service Provider for the Laravel PHP Framework

image

naturalweb/nwlaravel-dropbox

Dropbox SDK Service Provider for the Laravel PHP Framework

  • Saturday, September 27, 2014
  • by naturalweb
  • Repository
  • 2 Watchers
  • 1 Stars
  • 357 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

NwLaravel Dropbox

Build Status Coverage Status Scrutinizer Code Quality SensioLabsInsight, (*1)

This is a service provider for the Laravel PHP Framework, for usage client the of sdk-dropbox. Core API, (*2)

Requirements:

SDK API docs., (*3)

Installation

In the require key of composer.json file add the following, (*4)

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

Run the Composer update comand, (*5)

$ composer update

In your config/app.php add 'NwLaravel\Dropbox\DropboxServiceProvider' to the end of the $providers array, (*6)

'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, (*7)

'aliases' => array(

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

),

Configuration

Publish config using artisan CLI., (*8)

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:, (*9)

<?php

/*
|--------------------------------------------------------------------------
| Configuration Dropbox
|--------------------------------------------------------------------------
*/

return array(
    'token'  => 'your-token',
    'app'    => 'your-app',
);

Usage

Dropbox::getAccountInfo();

The Versions

27/09 2014

dev-master

9999999-dev https://github.com/naturalweb/NwLaravel-Dropbox

Dropbox SDK Service Provider for the Laravel PHP Framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel php dropbox sdk-dropbox

14/06 2014

v0.1

0.1.0.0 https://github.com/naturalweb/NwLaravel-Dropbox

Dropbox SDK Service Provider for the Laravel PHP Framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel php dropbox sdk-dropbox