2017 © Pedro Peláez
 

library laravel-dropbox

Dropbox Is A Dropbox Bridge For Laravel 5

image

geryjuhasz/laravel-dropbox

Dropbox Is A Dropbox Bridge For Laravel 5

  • Sunday, November 19, 2017
  • by eddyszucs
  • Repository
  • 2 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 18 Versions
  • 8 % Grown

The README.md

Percentage of issues still open Build Status codecov Dependency Status, (*1)

Latest Stable Version Total Downloads License, (*2)

Tested with PHP 5.6-7.1 and HHVM 3.18. See the CI builds page for the most accurate, up-to-date version list., (*3)


Maintainer(s) needed!

[10 Feb 2017] Unfortunately, I do not have time to maintain this SDK. I do not expect it to become out-of-date in terms of functionality for at least another year, but it won't be adding any new functionality. Please open an issue if you're interested., (*4)


A PHP SDK for Dropbox's v2 API. If you haven't tried Dropbox out yet, do - it's great!, (*5)

Table of Contents

  1. Installation
  2. Usage
  3. Supported API operations
  4. API Documentation

Installation

Installation is only available via Composer., (*6)

Quick version:

composer require alorel/dropbox-v2-php

More informed version:

The package is still in its 0.x development stage, therefore adding it as a ^ dependency, e.g. "alorel/dropbox-v2-php":"^0.1" will severely limit the amount of updates you receive, as, per semver specification, 0.2 is allowed to be backwards-incompatible with 0.1. While I definitely cannot guarantee full backwards compatibility if you fiddle with protected methods and derive your own subclasses, I do guarantee that the public API will remain backwards-compatible, therefore, if you only use the raw methods in your application e.g., (*7)

$options = new UploadOptions(); //set your options
(new Upload())->raw('/file.txt', 'data', $options);

You can safely add the following as a dependency in your composer.json:, (*8)

{
  "require": {
    "alorel/dropbox-v2-php": ">=0.4 <1.0"
  }
}

Additionally, composer outdated is a useful command to know during the 0.x development stage!, (*9)

Usage

Every Dropbox API operation is located in the \Alorel\Dropbox\Operation namespace and is a class named after the API endpoint. There are a few exceptions to this, however, e.g. the class for https://content.dropboxapi.com/2/files/upload_session/start is \Alorel\Dropbox\Operation\Files\UploadSession\Start., (*10)

All operation classes inherit the AbstractOperation constructor:, (*11)

  /**
    * Operation constructor.
    *
    * @param bool   $async       Whether requests should be asynchronous
    * @param string $accessToken Our access token
    */
    public function __construct($async = null, string $accessToken = null) {}

The first parameter is a boolean determining whether operations should run synchronously or asynchronously (defaults to synchronous), the second is the access token created when the user authorises your application. Both can have default values set via AbstractOperation::setDefaultToken() and AbstractOperation::setDefaultAsync() respectively., (*12)

Currently the only supported way of making requests is with the respective operation class' raw method, which will return an instance of PromiseInterface when operating in asynchronous mode or an instance of ResponseInterface if operating in synchronous mode. See guzzlephp.org for more information on promises and responses., (*13)

In future releases I will be adding 'management' classes that will automatically format the response., (*14)

Supported API Operations

Unless specified otherwise, any operation that is not currently supported will be added in a future release., (*15)

Files

All except:, (*16)

  • [ ] /alpha/get_metadata | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /alpha/upload | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /properties/add | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /properties/overwrite | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /properties/remove | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /properties/template/get | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /properties/template/list | In Beta/Alpha on Dropbox - will implement once stable
  • [ ] /properties/update | In Beta/Alpha on Dropbox - will implement once stable

Users

All, (*17)

API Documentation

0.4 | 0.3.3 | 0.2 | 0.1.1 | 0.1, (*18)


Links

The Versions

19/11 2017

dev-master

9999999-dev https://github.com/geryjuhasz/Laravel-Dropbox

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

The Requires

 

The Development Requires

by Gergo Juhasz
by Eduard Szucs

laravel api framework files dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

19/11 2017

v4.0.0

4.0.0.0 https://github.com/geryjuhasz/Laravel-Dropbox

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

The Requires

 

The Development Requires

by Gergo Juhasz
by Eduard Szucs

laravel api framework files dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

01/01 2017

v3.4.0

3.4.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

26/04 2016

v3.3.0

3.3.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

30/01 2016

v3.2.1

3.2.1.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

14/11 2015

v3.2.0

3.2.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

06/10 2015

v3.1.0

3.1.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

26/06 2015

v3.0.0

3.0.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

07/05 2015

v2.1.0

2.1.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

05/02 2015

v2.0.0

2.0.0.0

Dropbox Is A Dropbox Bridge For Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

11/01 2015

v1.1.2

1.1.2.0

Dropbox Is A Dropbox Bridge For Laravel 4.1/4.2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

19/10 2014

v1.1.1

1.1.1.0

Dropbox Is A Dropbox Bridge For Laravel 4.1/4.2

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

10/08 2014

v1.1.0

1.1.0.0

Dropbox Is A Dropbox Bridge For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

27/07 2014

v1.0.1

1.0.1.0

Dropbox Is A Dropbox Bridge For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

21/07 2014

v1.0.0

1.0.0.0

Dropbox Is A Dropbox Bridge For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

16/07 2014

v1.0.0-RC1

1.0.0.0-RC1

Dropbox Is A Dropbox Bridge For Laravel 4.1+

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox dropbox bridge

31/05 2014

v0.2.0-alpha

0.2.0.0-alpha

Dropbox Is A Dropbox Bridge For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox

21/04 2014

v0.1.0-alpha

0.1.0.0-alpha

Dropbox Is A Dropbox Bridge For Laravel 4.1

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Graham Campbell

laravel api framework files graham campbell grahamcampbell dropbox bridge laravel dropbox laravel-dropbox