phore/filesystem
最新稳定版本:v1.1.0
Composer 安装命令:
composer require phore/filesystem
包简介
Acces files layer
README 文档
README
File access functions
- Working with sub-paths
- Checking symbolic links
Installation
compser require phore/filesystem
General usage
echo phore_uri("/tmp/some.file")->withDirName();
will result in
/tmp
Subpath
echo phore_uri("/tmp")->withSubPath("./some/other/file")
/tmp/some/other/file
Assertions
phore_uri("/tmp")->assertIsFile()->assertIsWritable();
Reading YAML
phore_uri("/tmp/somefile.yml")->assertFile()->get_yaml();
Tempoary Files
Will be unlinked when object destructs.
$file = new PhoreTempFile();
统计信息
- 总下载量: 12.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 33
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-17