sndsgd/fs
最新稳定版本:0.4.5
Composer 安装命令:
composer require sndsgd/fs
包简介
A filesystem toolkit for PHP
README 文档
README
A filesystem toolkit for PHP.
Why?
The classes in sndsgd\fs attempt to simplify tedious filesystem tasks.
use \sndsgd\Fs; # lets assume `/tmp/some` doesn't exist $path = "/tmp/some/deep/path/file.txt"; # write to a file that doesn't exist in a directory that doesn't exist $file = Fs::getFile($path); if ($file->write("the contents...") === false) { throw new Exception($file->getError()); }
Requirements
This project is unstable and subject to changes from release to release. If you intend to depend on this project, be sure to make note of and specify the version in your project's composer.json. Doing so will ensure any breaking changes do not break your project.
You need PHP >= 7.0.0 to use this library.
Install
Install sndsgd/fs using Composer.
composer require sndsgd/fs
统计信息
- 总下载量: 3.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-15