PHPackages                             zijinghua-dev/zfilesystem - 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. zijinghua-dev/zfilesystem

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

zijinghua-dev/zfilesystem
=========================

the consumer file system

1.0.4.2(5y ago)068MITPHP

Since Aug 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zijinghua-dev/zfilesystem)[ Packagist](https://packagist.org/packages/zijinghua-dev/zfilesystem)[ RSS](/packages/zijinghua-dev-zfilesystem/feed)WikiDiscussions develop Synced yesterday

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

File System Package
===================

[](#file-system-package)

\##Install

- 安装命令

> composer require zijinghua-dev/zfilesystem

\##Update

- 更新命令

> composer update zijinghua-dev/zfilesystem

- 迁移数据

> php artisan zfilesystem:install

- 修改.env环境变量

> .env增加FILESYSTEM\_DRIVER

```
FILESYSTEM_DRIVER=oss
```

> 将下面的参数放到.env最后面

```
#ALIYUN
ALIYUN_ACCESS_KEY_ID=你自己的oss key id
ALIYUN_ACCESS_KEY_SECRET=你自己的oss secret
#ALIYUN OSS
ALIYUN_OSS_BUCKET=你自己的oss bucket
ALIYUN_OSS_ENDPOINT_EXTERNAL=你自己的oss外网地址
ALIYUN_OSS_ENDPOINT_INTERNAL=null
ALIYUN_OSS_CDN_DOMAIN=
ALIYUN_OSS_CDN_DOMAIN_ENABLE=false
```

- 修改config/filesystem.php

> 在config/filesystem.php的disk数组中增加如下配置

```
        'oss' => [
            'driver'        => 'oss',
            'access_id'     => env('ALIYUN_ACCESS_KEY_ID'),
            'access_key'    => env('ALIYUN_ACCESS_KEY_SECRET'),
            'bucket'        => env('ALIYUN_OSS_BUCKET'),
            'endpoint'      => env('ALIYUN_OSS_ENDPOINT_EXTERNAL'), // OSS 外网节点或自定义外部域名
            'endpoint_internal' => env('ALIYUN_OSS_ENDPOINT_INTERNAL'), // v2.0.4 新增配置属性，如果为空，则默认使用 endpoint 配置(由于内网上传有点小问题未解决，请大家暂时不要使用内网节点上传，正在与阿里技术沟通中)
            'cdnDomain'     => env('ALIYUN_OSS_CDN_DOMAIN'), // 如果isCName为true, getUrl会判断cdnDomain是否设定来决定返回的url，如果cdnDomain未设置，则使用endpoint来生成url，否则使用cdn
            'ssl'           => true, // true to use 'https://' and false to use 'http://'. default is false,
            'isCName'       => env('ALIYUN_OSS_CDN_DOMAIN_ENABLE', false), // 是否使用自定义域名,true: 则Storage.url()会使用自定义的cdn或域名生成文件url， false: 则使用外部节点生成url
            'debug'         => false,
            'prefix'        => env('SERVICE_OSS_SAVE_PATH'),
        ],
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~3 days

Total

8

Last Release

2057d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dcf7b54c041e7f7250411a4b13baaaae80501a65867fd92a78745859f184fd90?d=identicon)[zijinghua-dev](/maintainers/zijinghua-dev)

---

Top Contributors

[![griffyn](https://avatars.githubusercontent.com/u/694671?v=4)](https://github.com/griffyn "griffyn (20 commits)")

### Embed Badge

![Health badge](/badges/zijinghua-dev-zfilesystem/health.svg)

```
[![Health](https://phpackages.com/badges/zijinghua-dev-zfilesystem/health.svg)](https://phpackages.com/packages/zijinghua-dev-zfilesystem)
```

###  Alternatives

[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)[dcblogdev/laravel-dropbox

A Laravel Dropbox v2 package

3263.0k](/packages/dcblogdev-laravel-dropbox)[dgtlss/capsule

A Laravel package for backing up databases and files to external sources with notifications

194.3k](/packages/dgtlss-capsule)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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