GithubHelp home page GithubHelp logo

thisgun / flysystem-dropbox-v2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from srmklive/flysystem-dropbox-v2

0.0 0.0 0.0 55 KB

Flysystem driver for Dropbox API v2

License: MIT License

PHP 100.00%

flysystem-dropbox-v2's Introduction

flysystem-dropbox-v2

Latest Version on Packagist StyleCI Build Status Scrutinizer Code Quality Coverage Status SensioLabsInsight Build status

This package contains a Flysystem adapter for Dropbox API v2.

Credits

This package is direct port of Flysystem Dropbox by Freek Van der Herten with support for PHP 5.5 & 5.6.

Installation

You can install the package via composer:

composer require srmklive/flysystem-dropbox-v2

Usage

The first thing you need to do is get an authorization token at Dropbox. A token can be generated in the App Console for any Dropbox API app. You'll find more info at the Dropbox Developer Blog.

use League\Flysystem\Filesystem;
use Srmklive\Dropbox\Client\DropboxClient;
use Srmklive\Dropbox\Adapter\DropboxAdapter;

$client = new DropboxClient($authorizationToken);

$adapter = new DropboxAdapter($client);

$filesystem = new Filesystem($adapter);

Testing

$ composer test

flysystem-dropbox-v2's People

Contributors

bepetersn avatar srmklive avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.