axy/fs-real
Composer 安装命令:
composer require axy/fs-real
包简介
File system access
README 文档
README
File system access (PHP).
Real implementation of axy/fs/ifs.
- The library does not require any dependencies.
- Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).
- Install:
composer require axy/fs-real. - License: MIT.
Documentation
It is an implementation of interfaces from axy/fs-ifs. This implementation works with the real file system.
The class FS is implementation of axy\fs\ifs\IFS.
FS::open() returns an instance of RealFile class that is implementation of axy\fs\ifs\IFile.
Messages of the FSError exception are similar build-in functions WARNINGs.
Bugs
The library successfully tested on PHP 5.4, 5.5, 5.5 and 7.0 via travis-ci.org.
For HHVM there are several little bugs:
copy()does not throw exception if the source does not exist.$file->getMetaData()for closed$filedoes not throw an exception.- If create a file using
createTempFile()and gets meta data using$file->getMetaData()then the filemeta->filenamedoes not exists.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-01