comphp/filesystem
Composer 安装命令:
composer require comphp/filesystem
包简介
Virtual mount-based filesystem access and path resolution for PHP applications.
README 文档
README
CommonPHP Filesystem provides virtual mount-based filesystem access for CommonPHP applications. It resolves logical paths to one or more real storage locations while keeping file access consistent across applications and packages.
The package gives CommonPHP applications a clean way to work with application storage, package resources, and mounted locations without scattering raw paths throughout the codebase.
Requirements
- PHP
^8.5
Installation
Once this package is available through your Composer repositories, install it with:
composer require comphp/filesystem
Usage
<?php // TODO: Write usage
Package Notes
This package should own virtual mount points, multiple real locations per mount, file access, path normalization, and storage abstractions. Runtime only provides root-relative path resolution.
Error Handling
Missing mounts, invalid paths, unreadable files, unwritable destinations, and storage failures should throw CommonPHP filesystem exceptions.
Documentation
License
MIT. See LICENSE.md.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-17