PHPackages                             homedesignshops/flysystem-sharepoint - 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. homedesignshops/flysystem-sharepoint

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

homedesignshops/flysystem-sharepoint
====================================

Flysystem v2 SharePoint adapter for the Microsoft Graph API

v1.5.1(1y ago)59742MITPHPPHP ^8.1

Since Sep 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/homedesignshops/flysystem-sharepoint)[ Packagist](https://packagist.org/packages/homedesignshops/flysystem-sharepoint)[ Docs](https://github.com/homedesignshops/flysystem-sharepoint)[ RSS](/packages/homedesignshops-flysystem-sharepoint/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (5)Versions (10)Used By (0)

Flysystem adapter for Microsoft Sharepoint
==========================================

[](#flysystem-adapter-for-microsoft-sharepoint)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ad9d4e8d84173987960e92541062a55c8e1e6bae0af3143d56749b2380e12612/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686f6d6564657369676e73686f70732f666c7973797374656d2d7368617265706f696e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/homedesignshops/flysystem-sharepoint)[![Total Downloads](https://camo.githubusercontent.com/f4945e238d322fb036eec0e963ca27f52c593cb44afff35d733fa2f4b72508d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f6d6564657369676e73686f70732f666c7973797374656d2d7368617265706f696e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/homedesignshops/flysystem-sharepoint)[![GitHub Actions](https://github.com/homedesignshops/flysystem-sharepoint/actions/workflows/main.yml/badge.svg)](https://github.com/homedesignshops/flysystem-sharepoint/actions/workflows/main.yml/badge.svg)

This package contains a Flysystem adapter for Sharepoint. Under the hood, the Microsoft Graph API v1 is used. You need an Azure App to use this package.

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

[](#installation)

You can install the package via composer:

```
composer require homedesignshops/flysystem-sharepoint
```

Usage
-----

[](#usage)

The first thing you need to do is [creating a new Azure Application](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps). Make sure you set the Microsoft Graph API Permissions inside your created application:

- Files.ReadWrite.All
- Group.ReadWrite.All

After that, you can use the adapter as follows:

```
use Homedesignshops\FlysystemSharepoint\SharepointClient;
use Homedesignshops\FlysystemSharepoint\SharepointAdapter;
use League\Flysystem\Filesystem;

$client = new SharepointClient($tenantId, $clientId, $clientSecret, $sharepointGroupName)
$adapter = new SharepointAdapter($client, $pathPrefix);

$filesystem = new Filesystem($adapter);
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Kevin Koenen](https://github.com/homedesignshops)

License
-------

[](#license)

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

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance42

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~149 days

Recently: every ~113 days

Total

9

Last Release

495d ago

PHP version history (2 changes)v1.0PHP ^7.4|^8.0

v1.3PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c380e7c8ffedd1187f73ffbe9fa2fa67fa877d68f660eda2ee0f9a1e49f62cf?d=identicon)[kevinkoenen](/maintainers/kevinkoenen)

---

Top Contributors

[![kevinkoenen](https://avatars.githubusercontent.com/u/30780782?v=4)](https://github.com/kevinkoenen "kevinkoenen (11 commits)")

---

Tags

flysystem-sharepointhomedesignshops

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/homedesignshops-flysystem-sharepoint/health.svg)

```
[![Health](https://phpackages.com/badges/homedesignshops-flysystem-sharepoint/health.svg)](https://phpackages.com/packages/homedesignshops-flysystem-sharepoint)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M73](/packages/unisharp-laravel-filemanager)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[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)[elazar/flystream

PHP stream wrapper for Flysystem v2 and v3

2051.2k2](/packages/elazar-flystream)[jerodev/flysystem-v3-smb-adapter

SMB adapter for Flysystem v3

1289.9k1](/packages/jerodev-flysystem-v3-smb-adapter)

PHPackages © 2026

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