PHPackages                             lujihong/huawei-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. lujihong/huawei-obs

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

lujihong/huawei-obs
===================

基于华为云官方最新 OBS PHP SDK v3.21.6 适用于hyperf等框架

v1.0.0(4y ago)15441Apache-2.0PHPPHP &gt;=7.4.0

Since May 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lujihong/hyperf-huawei-obs)[ Packagist](https://packagist.org/packages/lujihong/huawei-obs)[ RSS](/packages/lujihong-huawei-obs/feed)WikiDiscussions main Synced 3w ago

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

华为云OBS
------

[](#华为云obs)

### 基于华为云官方最新 OBS PHP SDK v3.21.6 修改，兼容在hyperf框架php8.0环境中使用，并修复部分问题。

[](#基于华为云官方最新-obs-php-sdk-v3216-修改兼容在hyperf框架php80环境中使用并修复部分问题)

### 安装

[](#安装)

```
composer require lujihong/huawei-obs

```

### 配置

[](#配置)

hyperf框架中使用，如果config/autoload目录没有file.php文件则执行以下命令：

```
php bin/hyperf.php vendor:publish lujihong/huawei-obs

```

或直接file.php文件中新增：

```
'obs' => [
    'driver' => \Obs\Adapter\ObsAdapterFactory::class,
    'enable_coroutine_handler' => false, //是否启用协程处理器
    'key' => env('OBS_ACCESS_ID'),
    'secret' => env('OBS_ACCESS_KEY'),
    'bucket' => env('OBS_BUCKET'),
    'endpoint' => env('OBS_ENDPOINT'),
    'cdn_domain' => env('OBS_CDN_DOMAIN', ''), //没有CDN域名则不填，默认会自动生成访问域名
    'ssl_verify' => env('OBS_SSL_VERIFY', false), //  true to use 'https://' and false to use 'http://'. default is false
]

```

### 如何使用

[](#如何使用)

可参考示例 或 华为官方文档

hyperf框架可参考文档使用：

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

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

1486d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/857a0c0ff93a510cb3a9e7a41229e4799a3c13c6f982c1a872f29cc4fa481957?d=identicon)[lujihong](/maintainers/lujihong)

---

Top Contributors

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

---

Tags

phpstoragefilesystemsswoolehyperfhuaweiOBS

### Embed Badge

![Health badge](/badges/lujihong-huawei-obs/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M514](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[google/cloud

Google Cloud Client Library

1.2k16.5M57](/packages/google-cloud)

PHPackages © 2026

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