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

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

kalax2/flysystem-huaweicloud-obs
================================

HuaweiCloud OBS adapter for Flysystem.

1.0.0(1y ago)05711MITPHPPHP &gt;=8.0

Since Sep 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kalax2/flysystem-huaweicloud-obs)[ Packagist](https://packagist.org/packages/kalax2/flysystem-huaweicloud-obs)[ RSS](/packages/kalax2-flysystem-huaweicloud-obs/feed)WikiDiscussions master Synced 1mo ago

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

简介
--

[](#简介)

华为云对象存储服务OBS Flysystem Adapter

使用方法
----

[](#使用方法)

安装

```
composer require kalax2/flysystem-huaweicloud-obs
```

示例

```
use Kalax2\Flysystem\Obs\ObsAdapter;
use League\Flysystem\Filesystem;

$adapter = new ObsAdapter(
    // Access Key
    accessKey: 'AccessKey',
    // Secret Key
    secretKey: 'SecretKey',
    // 地域，注意不是控制台的Endpoint域名
    // 请看地域列表：https://console.huaweicloud.com/apiexplorer/#/endpoint/OBS
    region: 'cn-north-1',
    // 存储桶名称
    bucket: 'BucketName',
    // 额外配置，可选
    config: [
        'guzzle' => []  // GuzzleHttp 配置
        'ssl' => true  // 是否使用https,只影响temporaryUrl()和getUrl()返回的Url
        'domain' => 'abc.example.com'  // 自定义域名
    ]
);

$filesystem = new Filesystem($adapter);

$filesystem->write('hello/world.txt', 'Hello, World!');
$filesystem->move('hello/world.txt', 'hello world.txt');
$filesystem->fileExists('hello/world.txt');
$filesystem->setVisibility('hello/world.txt', Visibility::PUBLIC);
```

更多信息请参考 [Flysystem 官方文档](https://flysystem.thephpleague.com/docs/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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

615d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

FlysystemOBShuaweicloud

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/kalax2-flysystem-huaweicloud-obs/health.svg)](https://phpackages.com/packages/kalax2-flysystem-huaweicloud-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.

226231.8M39](/packages/league-flysystem-local)[oneup/flysystem-bundle

Integrates Flysystem filesystem abstraction library to your Symfony project.

64422.9M66](/packages/oneup-flysystem-bundle)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[spatie/flysystem-dropbox

Flysystem Adapter for the Dropbox v2 API

3644.6M68](/packages/spatie-flysystem-dropbox)

PHPackages © 2026

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