PHPackages                             yuanhao/filesystem-ossv2 - 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. yuanhao/filesystem-ossv2

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

yuanhao/filesystem-ossv2
========================

基于flysystem适配ossv2版本

v1.0.0(6mo ago)00MITPHPPHP ^8.0

Since Dec 19Pushed 6mo agoCompare

[ Source](https://github.com/Codyyuan/yuanhao-filesystem-ossv2)[ Packagist](https://packagist.org/packages/yuanhao/filesystem-ossv2)[ RSS](/packages/yuanhao-filesystem-ossv2/feed)WikiDiscussions main Synced today

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

Changelog
=========

[](#changelog)

所有对该项目的显著更改都将记录在此文件中。

\[1.0.0\] - 2025-12-18
----------------------

[](#100---2025-12-18)

### Added

[](#added)

- 首次发布
- 实现了 Flysystem `FilesystemAdapter` 接口的所有必要方法
- 支持阿里云 OSS v2 SDK
- 支持文件上传、下载、删除等基本操作
- 支持文件流操作
- 支持文件可见性管理
- 支持目录操作
- 支持文件元数据获取
- 提供完整的错误处理机制

### 主要功能

[](#主要功能)

- `write()` - 写入文件内容
- `writeStream()` - 写入文件流
- `read()` - 读取文件内容
- `readStream()` - 读取文件流
- `delete()` - 删除文件
- `deleteDirectory()` - 删除目录
- `createDirectory()` - 创建目录
- `setVisibility()` - 设置文件可见性
- `visibility()` - 获取文件可见性
- `fileExists()` - 判断文件是否存在
- `directoryExists()` - 判断目录是否存在
- `mimeType()` - 获取文件MIME类型
- `lastModified()` - 获取文件最后修改时间
- `fileSize()` - 获取文件大小
- `listContents()` - 列出目录内容
- `move()` - 移动文件
- `copy()` - 复制文件

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance66

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

197d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/85380783?v=4)[Codyyuan](/maintainers/Codyyuan)[@Codyyuan](https://github.com/Codyyuan)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yuanhao-filesystem-ossv2/health.svg)

```
[![Health](https://phpackages.com/badges/yuanhao-filesystem-ossv2/health.svg)](https://phpackages.com/packages/yuanhao-filesystem-ossv2)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k285.7M1.0k](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.5M85](/packages/unisharp-laravel-filemanager)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[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)

PHPackages © 2026

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