2017 © Pedro Peláez
 

library flysystem-onedrive

Fork OneDrive adapter for the flysystem filesystem abstraction library

image

yosa/flysystem-onedrive

Fork OneDrive adapter for the flysystem filesystem abstraction library

  • Tuesday, January 23, 2018
  • by lheredia
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 6 Versions
  • 37 % Grown

The README.md

Flysystem OneDrive adapter

Author Software License, (*1)

The OneDrive adapter gives the possibility to use the Flysystem filesystem abstraction library with OneDrive. It uses the Guzzle library to communicate with the API., (*2)

Installation

composer require jacekbarecki/flysystem-onedrive

Usage

To communicate with the OneDrive API, you will need an authorization token. For the development purposes, visit https://dev.onedrive.com/auth/msa_oauth.htm, click "Get token" and paste the token into your PHP app.
See the OneDrive API documentation for a detailed information about other ways of authorization., (*3)

~~~ php require 'vendor/autoload.php';, (*4)

//paste a temporary token from https://dev.onedrive.com/auth/msa_oauth.htm $token = '123456789';, (*5)

$oneDriveClient = new \JacekBarecki\FlysystemOneDrive\Client\OneDriveClient($token, new \GuzzleHttp\Client()); $oneDriveAdapter = new \JacekBarecki\FlysystemOneDrive\Adapter\OneDriveAdapter($oneDriveClient); ~~~, (*6)

Known limitations

The OneDrive adapter has currently some limitations. If you want to contribute to the development of the adapter, feel free to submit pull requests that remove these limitations:, (*7)

  1. Saving files is currently supported by the "Simple upload" method of the OneDrive API. This method only supports files up to 100MB in size and is implemented without stream support. To support larger files, a resumable upload method needs to be implemented., (*8)

  2. When listing items and a collection has more than 200 items, only first 200 items will be returned. To support bigger collections, the client should make multiple API calls, as described in the OneDrive API documentation. This is not implemented yet., (*9)

See also

Please note that the OneDrive API is case insensitive. Read the OneDrive API documentation to get to know the details., (*10)

The Versions

23/01 2018

1.0.2.x-dev

1.0.2.9999999-dev https://github.com/jacekbarecki/flysystem-onedrive

Fork OneDrive adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jacek Barecki

api filesystem client flysystem onedrive

19/01 2018

dev-master

9999999-dev https://github.com/jacekbarecki/flysystem-onedrive

Fork OneDrive adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jacek Barecki

api filesystem client flysystem onedrive

19/01 2018

1.0.2

1.0.2.0 https://github.com/jacekbarecki/flysystem-onedrive

Fork OneDrive adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jacek Barecki

api filesystem client flysystem onedrive

19/01 2018

1.0.3

1.0.3.0 https://github.com/jacekbarecki/flysystem-onedrive

Fork OneDrive adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jacek Barecki

api filesystem client flysystem onedrive

22/02 2016

1.0.1

1.0.1.0 https://github.com/jacekbarecki/flysystem-onedrive

OneDrive adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jacek Barecki

api filesystem client flysystem onedrive

14/02 2016

1.0.0

1.0.0.0 https://github.com/jacekbarecki/flysystem-onedrive

OneDrive adapter for the flysystem filesystem abstraction library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jacek Barecki

api filesystem client flysystem onedrive