Download the PHP package leapt/flysystem-onedrive without Composer
On this page you can find all versions of the php package leapt/flysystem-onedrive. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leapt/flysystem-onedrive
More information about leapt/flysystem-onedrive
Files in leapt/flysystem-onedrive
Package flysystem-onedrive
Short Description Flysystem Adapter for the OneDrive API
License MIT
Homepage https://github.com/leapt/flysystem-onedrive
Informations about the package flysystem-onedrive
Flysystem adapter for the Microsoft OneDrive API
This package contains a Flysystem adapter for OneDrive. Under the hood, the Microsoft Graph SDK is used.
Installation
This package requires PHP 8.1+ and Flysystem v3.
You can install the package using composer:
Usage
The first thing you need to do is get an authorization token for the Microsoft Graph API. For that you need to create an app on the Microsoft Azure Portal.
Retrieve a bearer token
If you are looking for a way to retrieve a bearer token, here are two examples:
- first example using Symfony HTTP Client
- second example using Guzzle, which is already included as a dependency from Microsoft Graph SDK
Using Symfony HTTP Client
Using Guzzle
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Feel free to contribute, like sending pull requests to add features/tests or creating issues :)
Note there are a few helpers to maintain code quality, that you can run using these commands:
License
The MIT License (MIT). Please see License File for more information.
History
This bundle is a maintained fork of the packages nicolasbeauvais and hevelius.