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(4mo ago)00MITPHPPHP ^8.0

Since Dec 19Pushed 4mo 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 1mo ago

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

32

—

LowBetter than 71% of packages

Maintenance79

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

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

141d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37bbc46cd9b48174b3788d7dd4b2d1773e1a91962eb731aa70c3e25922df9207?d=identicon)[Codyyuan](/maintainers/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

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M788](/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.3M73](/packages/unisharp-laravel-filemanager)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)

PHPackages © 2026

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