Download the PHP package shitware-ltd/flysystem-msgraph without Composer
On this page you can find all versions of the php package shitware-ltd/flysystem-msgraph. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shitware-ltd/flysystem-msgraph
More information about shitware-ltd/flysystem-msgraph
Files in shitware-ltd/flysystem-msgraph
Package flysystem-msgraph
Short Description A Flysystem 3.0 adapter for Sharepoint 365 / OneDrive using Microsoft Graph API with support for uploading large files
License MIT
Informations about the package flysystem-msgraph
flysystem-msgraph
A flysystem 3.0 adapter for Sharepoint 365 / OneDrive using Microsoft Graph API with support for uploading large files
Installation
Usage
Instantiate the adapter by passing in an instance of \Microsoft\Graph\Graph
and the DriveId of the drive you want to use.
The third optional parameter allows you to override the timeout and chunk size values which are used for uploading large files (writeStream).
You must set the access token on the graph instance before using the adapter. A guide on acquiring an access token is available at https://github.com/microsoftgraph/msgraph-sdk-php#readme
FAQ
Q: Do we really need another flysystem adapter?
A: I couldn't find one for flysystem 3.0 that implemented writeStream
properly. This adapter allows you to upload files larger than your memory buffer.
Q: How do I find my drive ID?
A: Out of scope for this project.
Q: What happens if my access token expires?
A: The adapter stops working.
All versions of flysystem-msgraph with dependencies
league/flysystem Version ^3.0
guzzlehttp/guzzle Version ^7.0.1
microsoft/microsoft-graph Version ^1.70