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 2d 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 41% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

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

667d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6131120?v=4)[kalax2](/maintainers/kalax2)[@kalax2](https://github.com/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.7k285.7M1.0k](/packages/league-flysystem-aws-s3-v3)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40432.5M137](/packages/league-flysystem-bundle)[barryvdh/elfinder-flysystem-driver

A Flysystem Driver for elFinder

1865.1M41](/packages/barryvdh-elfinder-flysystem-driver)[masbug/flysystem-google-drive-ext

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

2682.2M18](/packages/masbug-flysystem-google-drive-ext)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6134.8M156](/packages/league-flysystem-sftp-v3)[league/flysystem-google-cloud-storage

Google Cloud Storage adapter for Flysystem.

2319.4M70](/packages/league-flysystem-google-cloud-storage)

PHPackages © 2026

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