PHPackages                             nece001/php-brawl-filesystem-oss - 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. nece001/php-brawl-filesystem-oss

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

nece001/php-brawl-filesystem-oss
================================

php 文件系统信基础服务项目(阿里云OSS)

1.0.1(2y ago)04MITPHPPHP &gt;=7.2

Since Jun 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nece001/php-brawl-filesystem-oss)[ Packagist](https://packagist.org/packages/nece001/php-brawl-filesystem-oss)[ RSS](/packages/nece001-php-brawl-filesystem-oss/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

-php-brawl-filesystem-oss
=========================

[](#-php-brawl-filesystem-oss)

php 文件存储基础服务适配项目（阿里云 OSS）

依赖
==

[](#依赖)

composer require aliyuncs/oss-sdk-php

示例
==

[](#示例)

```
    $conf = array(
        'accessKeyId' => 'xxx',
        'accessKeySecret' => 'xxxx',
        'endpoint' => 'https://oss-cn-hangzhou.aliyuncs.com',
        'bucket' => 'xxxx',
        'sub_path' => 'uploads/test',
        'base_url' => 'https://xxx.oss-cn-hangzhou.aliyuncs.com',
    );

    $config = FileSystemFactory::createConfig('Oss');
    $config->setConfig($conf);

    $fso = FileSystemFactory::createClient($config);
    try {

        $fso->write('c/' . time() . '.txt', 'test'); // 写文件内容
        $fso->append('uploads/test/c/1687085376.txt', '[test]'); // 文件存在则追加内容
        $fso->append('c/' . time() . '.txt', '[test]'); // 文件不存在则创建

        $fso->copy('uploads/test/c/1687085376.txt', 'a/1.txt');
        $fso->move('uploads/test/c/1687085376.txt', 'a/2.txt');
        $fso->upload('D:\Work\temp\ttt.txt', 'a/3.txt');

        var_dump($fso->exists('uploads/test/a/1.txt'));
        echo $fso->read('uploads/test/a/1.txt');
        $fso->delete('uploads/test/a/3.txt');

        $fso->mkDir('a/d');
        echo $fso->lastModified('uploads/test/a/1.txt');
        echo $fso->fileSize('uploads/test/a/1.txt');
        print_r($fso->readDir('uploads/test/a/'));

        echo $fso->getUri(), '';
        echo $fso->getUrl(), '';
        echo $fso->buildPreSignedUrl('uploads/test/c/1687089158.txt');
    } catch (Throwable $e) {
        echo $e->getMessage(), '';
        echo $fso->getErrorMessage();
    }
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1056d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nece001-php-brawl-filesystem-oss/health.svg)

```
[![Health](https://phpackages.com/badges/nece001-php-brawl-filesystem-oss/health.svg)](https://phpackages.com/packages/nece001-php-brawl-filesystem-oss)
```

###  Alternatives

[jacobcyl/ali-oss-storage

aliyun oss filesystem storage for laravel 5+

523566.2k7](/packages/jacobcyl-ali-oss-storage)[iidestiny/flysystem-oss

Flysystem adapter for the Oss storage.

95607.5k26](/packages/iidestiny-flysystem-oss)[xxtime/flysystem-aliyun-oss

AliYun OSS adapter for flysystem. Support PHP8. aliyuncs/oss-sdk-php ~2.6

51505.3k28](/packages/xxtime-flysystem-aliyun-oss)[yangyifan/upload

上传 SDK for Laravel

12422.6k3](/packages/yangyifan-upload)[alphasnow/aliyun-oss-flysystem

Flysystem adapter for the Aliyun storage

14249.2k4](/packages/alphasnow-aliyun-oss-flysystem)[summergeorge/ali-oss-storage

aliyun oss filesystem storage for laravel 5+

3915.5k](/packages/summergeorge-ali-oss-storage)

PHPackages © 2026

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