marko/filesystem
最新稳定版本:0.5.0
Composer 安装命令:
composer require marko/filesystem
包简介
Filesystem interfaces and infrastructure for Marko Framework
README 文档
README
Interfaces for file storage--defines how files are read, written, and organized across any storage backend.
Installation
composer require marko/filesystem
Note: You typically install a driver package (like marko/filesystem-local) which requires this automatically.
Quick Example
use Marko\Filesystem\Contracts\FilesystemInterface; class DocumentService { public function __construct( private FilesystemInterface $filesystem, ) {} public function saveDocument(string $name, string $contents): void { $this->filesystem->write("documents/$name", $contents); } }
Documentation
Full usage, API reference, and examples: marko/filesystem
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 3
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24