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(6y ago)33.6k3MITPHPPHP ^7.0CI failing

Since Jun 2Pushed 6y 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 3w 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 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

2205d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[shitware-ltd/flysystem-msgraph

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

19429.9k4](/packages/shitware-ltd-flysystem-msgraph)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k277.8M959](/packages/league-flysystem-aws-s3-v3)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2672.0M17](/packages/masbug-flysystem-google-drive-ext)[justus/flysystem-onedrive

A flysystem driver for OneDrive that uses the Microsoft Graph API

49129.5k](/packages/justus-flysystem-onedrive)

PHPackages © 2026

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