shitware-ltd/flysystem-msgraph
A Flysystem v3 adapter for Microsoft Graph, letting Laravel and PHP apps read and write files on OneDrive and SharePoint through the same storage interface as local disks or S3, with Azure app credentials, configurable drive and folder roots, and support for common file operations.
Consider it when:
Look elsewhere or build a thin internal adapter when:
For executives: This is a low-cost, MIT-licensed adapter that lets our Laravel applications store and retrieve files directly in SharePoint 365 or OneDrive using Microsoft’s Graph API. It supports a common enterprise requirement — keeping documents in the customer’s Microsoft 365 environment — without building a custom integration from scratch. It is best treated as an accelerator, not a strategic platform dependency: the package is small and community-maintained, so we should adopt it behind an internal abstraction and budget for maintenance or replacement if usage grows.
For engineering: The package provides a Flysystem 3 adapter for SharePoint/OneDrive via Microsoft Graph, including large-file upload support. It fits naturally into Laravel’s filesystem disk configuration and can reduce custom Graph API code. Before adoption, validate test coverage, Graph permission scopes, upload reliability, error handling, and compatibility with our Laravel/PHP versions. Because the last release was December 2023 and community activity is limited, plan for dependency review, integration tests, and a fork/patch path. Use it as an implementation detail behind our storage interface so we can replace it without rewriting product features.
How can I help you explore Laravel packages today?