PHPackages                             zing/flysystem-obs - 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. zing/flysystem-obs

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

zing/flysystem-obs
==================

OBS filesystem adapter for Flysystem.

3.1.1(1y ago)628.3k↓13.8%2[1 PRs](https://github.com/zingimmick/flysystem-obs/pulls)3MITPHPPHP ^8.0CI passing

Since Jun 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/zingimmick/flysystem-obs)[ Packagist](https://packagist.org/packages/zing/flysystem-obs)[ Docs](https://github.com/zingimmick/flysystem-obs)[ Fund](https://www.paypal.com/paypalme/zingimmick)[ RSS](/packages/zing-flysystem-obs/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (37)Used By (3)

Flysystem OBS
=============

[](#flysystem-obs)

[![Build Status](https://github.com/zingimmick/flysystem-obs/actions/workflows/tests.yml/badge.svg?branch=3.x)](https://github.com/zingimmick/flysystem-obs/actions)[![Code Coverage](https://camo.githubusercontent.com/9fdd7a1bfec78d64d9192c868873b9d76bafa5247dca434af108c25289749811/68747470733a2f2f636f6465636f762e696f2f67682f7a696e67696d6d69636b2f666c7973797374656d2d6f62732f6272616e63682f332e782f67726170682f62616467652e737667)](https://codecov.io/gh/zingimmick/flysystem-obs)[![Latest Stable Version](https://camo.githubusercontent.com/66a56ab5e563c418eaa08a2dc8897c00343acbf2f2828b14cef622ee441d67fe/68747470733a2f2f706f7365722e707567782e6f72672f7a696e672f666c7973797374656d2d6f62732f762f737461626c652e737667)](https://packagist.org/packages/zing/flysystem-obs)[![Total Downloads](https://camo.githubusercontent.com/b144296c4c97e6ff7f011004985abcfd63ca77bb56d40dac566e934c0564d47a/68747470733a2f2f706f7365722e707567782e6f72672f7a696e672f666c7973797374656d2d6f62732f646f776e6c6f616473)](https://packagist.org/packages/zing/flysystem-obs)[![Latest Unstable Version](https://camo.githubusercontent.com/d143e51b6c0f7519670c98847f36a32d886a35ddb457b71fd1bef29383550266/68747470733a2f2f706f7365722e707567782e6f72672f7a696e672f666c7973797374656d2d6f62732f762f756e737461626c652e737667)](https://packagist.org/packages/zing/flysystem-obs)[![License](https://camo.githubusercontent.com/e5ca1b267d673cca4c0da91eaf081f8c1e1792a032e4928a539960448b94fc08/68747470733a2f2f706f7365722e707567782e6f72672f7a696e672f666c7973797374656d2d6f62732f6c6963656e7365)](https://packagist.org/packages/zing/flysystem-obs)

> **Requires**
>
> - **[PHP 8.0+](https://php.net/releases/)**
> - **[Flysystem 3.10+](https://github.com/thephpleague/flysystem/releases)**

Version Information
-------------------

[](#version-information)

VersionFlysystemPHP VersionStatus3.x3.10+&gt;= 8.0Active support 🚀2.x2.x - 3.x&gt;= 7.2Active support1.x1.x&gt;= 7.2Active supportRequire Flysystem OBS using [Composer](https://getcomposer.org):

```
composer require zing/flysystem-obs
```

Usage
-----

[](#usage)

```
use League\Flysystem\Filesystem;
use Obs\ObsClient;
use Zing\Flysystem\Obs\ObsAdapter;

$prefix = '';
$config = [
    'key' => 'aW52YWxpZC1rZXk=',
    'secret' => 'aW52YWxpZC1zZWNyZXQ=',
    'bucket' => 'test',
    'endpoint' => 'obs.cn-east-3.myhuaweicloud.com',
];

$config['options'] = [
    'url' => '',
    'endpoint' => $config['endpoint'],
    'bucket_endpoint' => '',
    'temporary_url' => '',
];

$client = new ObsClient($config);
$adapter = new ObsAdapter($client, $config['bucket'], $prefix, null, null, $config['options']);
$flysystem = new Filesystem($adapter);
```

Integration
-----------

[](#integration)

- Laravel: [zing/laravel-flysystem-obs](https://github.com/zingimmick/laravel-flysystem-obs)

Reference
---------

[](#reference)

[league/flysystem-aws-s3-v3](https://github.com/thephpleague/flysystem-aws-s3-v3)

License
-------

[](#license)

Flysystem OBS is an open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance68

Regular maintenance activity

Popularity33

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 56.8% 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 ~51 days

Recently: every ~312 days

Total

35

Last Release

53d ago

Major Versions

1.3.0 → 2.5.02022-02-21

1.4.0 → 2.6.02022-03-14

1.4.1 → 2.6.12022-03-21

2.x-dev → 3.0.02022-10-26

1.x-dev → 3.1.12025-01-22

PHP version history (2 changes)0.0.1PHP ^7.2 || ^8.0

3.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fafa5bffa28dcd722432b244bf3f0bfe773406df29fea295847e2397b95d50b?d=identicon)[zingimmick](/maintainers/zingimmick)

---

Top Contributors

[![zingimmick](https://avatars.githubusercontent.com/u/26657141?v=4)](https://github.com/zingimmick "zingimmick (121 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (85 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![J2zl](https://avatars.githubusercontent.com/u/23160330?v=4)](https://github.com/J2zl "J2zl (1 commits)")

---

Tags

filesystemflysystemobsfilesystemFlysystemfilefilesstorageOBS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zing-flysystem-obs/health.svg)

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)[league/flysystem-ziparchive

ZIP filesystem adapter for Flysystem.

1039.3M58](/packages/league-flysystem-ziparchive)

PHPackages © 2026

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