PHPackages                             skinka/flysystem-msgraph-files - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. skinka/flysystem-msgraph-files

ActiveLibrary[File &amp; Storage](/categories/file-storage)

skinka/flysystem-msgraph-files
==============================

Flysystem adapter for OneDrive or SharePoint

1.0.2(5y ago)33.6k3MITPHPPHP ^7.0

Since Jun 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Skinka/flysystem-msgraph-file)[ Packagist](https://packagist.org/packages/skinka/flysystem-msgraph-files)[ Docs](https://github.com/skinka/flysystem-msgraph-files)[ RSS](/packages/skinka-flysystem-msgraph-files/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Flysystem adapter for OneDrive or SharePoint
============================================

[](#flysystem-adapter-for-onedrive-or-sharepoint)

This package contains a [Flysystem](https://flysystem.thephpleague.com/) adapter for OneDrive, SharePoint. Under the hood, [MS Graph API](https://docs.microsoft.com/ru-ru/graph/api/resources/onedrive?view=graph-rest-1.0) is used.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require skinka/flysystem-msgraph-files
```

Usage
-----

[](#usage)

The first thing you need to do is create an application at [Azure](https://docs.microsoft.com/ru-ru/graph/auth-v2-service?view=graph-rest-1.0) and get `client_id`, `client_secret`, `tenant_id`.

```
use League\Flysystem\Filesystem;
use Skinka\FlysystemMSGraph\MSGraphAdapter;

$filesystem = new Filesystem(new MSGraphAdapter($clientId, $clientSecret, $tenantId, $prefix));
```

Note: `$prefix` is [file resource](https://docs.microsoft.com/ru-ru/graph/api/resources/onedrive?view=graph-rest-1.0#commonly-accessed-resources) string.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](license.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

2160d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/207a34de661cf58e8115ef22e3b8f905aa2a31f333a7e90262093948910d4e6b?d=identicon)[Skinka](/maintainers/Skinka)

---

Top Contributors

[![Skinka](https://avatars.githubusercontent.com/u/7543469?v=4)](https://github.com/Skinka "Skinka (3 commits)")

---

Tags

apiFlysystemOneDrivesharepointMsGraphflysystem-msgraph

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skinka-flysystem-msgraph-files/health.svg)

```
[![Health](https://phpackages.com/badges/skinka-flysystem-msgraph-files/health.svg)](https://phpackages.com/packages/skinka-flysystem-msgraph-files)
```

###  Alternatives

[shitware-ltd/flysystem-msgraph

A Flysystem 3.0 adapter for Sharepoint 365 / OneDrive using Microsoft Graph API with support for uploading large files

19360.4k3](/packages/shitware-ltd-flysystem-msgraph)[spatie/flysystem-dropbox

Flysystem Adapter for the Dropbox v2 API

3644.6M68](/packages/spatie-flysystem-dropbox)[justus/flysystem-onedrive

A flysystem driver for OneDrive that uses the Microsoft Graph API

48104.4k](/packages/justus-flysystem-onedrive)[jacekbarecki/flysystem-onedrive

OneDrive adapter for the flysystem filesystem abstraction library

2429.9k](/packages/jacekbarecki-flysystem-onedrive)[mhetreramesh/flysystem-backblaze

Backblaze adapter for the flysystem filesystem abstraction library

62146.8k9](/packages/mhetreramesh-flysystem-backblaze)[royvoetman/flysystem-gitlab-storage

Flysystem Adapter for the Gitlab Repository files API v4

1123.3k4](/packages/royvoetman-flysystem-gitlab-storage)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
