PHPackages                             lactobasilus/filesystem-onedrive-php8 - 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. lactobasilus/filesystem-onedrive-php8

ActiveLibrary

lactobasilus/filesystem-onedrive-php8
=====================================

wak waw

v0.0.1(5y ago)03MITPHPPHP &gt;=7.1 || ^7.4 || ^8.0

Since Jan 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lactobasilusprotectus/filesystem-onedrive-php8)[ Packagist](https://packagist.org/packages/lactobasilus/filesystem-onedrive-php8)[ RSS](/packages/lactobasilus-filesystem-onedrive-php8/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Flysystem Adapter for OneDrive
==============================

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

\#disclamire ini merupakaan package orang yang saya sesuaikan dengan php 8. kalo buat pr lama di acc jadi mendingan buat paket sendiri

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

[](#installation)

```
composer require lactobasilus/filesystem-onedrive-php8
```

Usage
-----

[](#usage)

- Follow [Azure Docs](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app) to obtain your `ClientId, ClientSecret & TenantId`
- Follow [OneDrive Docs](https://docs.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/msa-oauth?view=odsp-graph-online) to obtain your `refreshToken`

```
$token=new \As247\CloudStorages\Support\OneDriveOauth();
$token->setClientId('[Client ID]');
$token->setTenantId('[Tenant ID]');
$token->setClientSecret('[Client secret]');
$token->setRefreshToken('[Refresh token]');

$graph = new \Microsoft\Graph\Graph();
$graph->setAccessToken($token->getAccessToken());

$adapter = new \As247\Flysystem\OneDrive\OneDriveAdapter($graph, '[root path]');

$filesystem = new \League\Flysystem\Filesystem($adapter);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1929d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aef5cf052c4548d1bfff2053bbf509fb3dcfb678a6ff34ab187119860add2962?d=identicon)[lactobasilusprotectus](/maintainers/lactobasilusprotectus)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/lactobasilus-filesystem-onedrive-php8/health.svg)

```
[![Health](https://phpackages.com/badges/lactobasilus-filesystem-onedrive-php8/health.svg)](https://phpackages.com/packages/lactobasilus-filesystem-onedrive-php8)
```

###  Alternatives

[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[krizalys/onedrive-php-sdk

OneDrive SDK for PHP.

145383.4k](/packages/krizalys-onedrive-php-sdk)[rootinc/laravel-azure-middleware

Azure Middleware Auth

97370.2k](/packages/rootinc-laravel-azure-middleware)[motze92/office365-mail

Office365 transport for Laravel

65274.3k](/packages/motze92-office365-mail)[justus/flysystem-onedrive

A flysystem driver for OneDrive that uses the Microsoft Graph API

48104.4k](/packages/justus-flysystem-onedrive)[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)

PHPackages © 2026

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