Download the PHP package justus/flysystem-onedrive without Composer
On this page you can find all versions of the php package justus/flysystem-onedrive. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download justus/flysystem-onedrive
More information about justus/flysystem-onedrive
Files in justus/flysystem-onedrive
Package flysystem-onedrive
Short Description A flysystem driver for OneDrive that uses the Microsoft Graph API
License MIT
Informations about the package flysystem-onedrive
Flysystem adapter for Microsoft OneDrive
This package contains a Flysystem OneDrive adapter, which makes use of the Microsoft Graph API. The adapter is ready for the latest Laravel 9.x version.
You can use this package to access files stored in onedrive or sharepoint folders from your PHP or Laravel web applications.
1. Installation
Simply install the package using composer:
2. Usage
Laravel Usage
- Add the following variables to your
.env
file
example for 'personal' OneDrive
example for 'group shared' OneDrive
-
In the file
config/filesystems.php
, please add the following code snippet to the disks section - Add the
OneDriveAdapterServiceProvider
inconfig/app.php
There are two established approaches of using the package
-
On demand: Recommended if you use a dynamic graph access token. (usage e. g. session('graph_access_token'))
- Default with Storage Facade: Recommended if you use a static graph access token.
PHP Usage
Usage in php without Laravel framework
3. Changelog
Please see CHANGELOG for more information on recent changes.
4. Testing
5. Security
If you discover any security related issues, please write an email to [email protected] instead of using the issue tracker.
6. License
The MIT License (MIT). Please see License File for more information.
All versions of flysystem-onedrive with dependencies
league/flysystem Version ^3.2
microsoft/microsoft-graph Version ^1.74
illuminate/support Version ^9.0|^10.0|^11.0