zver/directory-walker
Composer 安装命令:
composer require zver/directory-walker
包简介
this is universal package template for development and testing
README 文档
README
Directory walker
This package helps you walk paths from current directory
Example of usage:
curent dir is /project
<?php $path=DirectoryWalker::fromCurrent() ->enter('tests') // /project/tests/ ->enter('unit/subunit\\') // /project/tests/unit/subunit/ ->up() // /project/tests/unit/ ->enter('sub\sub/unit/') // /project/tests/unit/sub/sub/unit/ ->up(2) // /project/tests/unit/sub/ ->upUntil('tests') // /project/tests/ ->get(); ?>
统计信息
- 总下载量: 947
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-08-11