spol/path
Composer 安装命令:
composer require spol/path
包简介
A PHP library for manipulating paths.
README 文档
README
Path is a simple library for manipulating strings containing filesystem paths.
Installation
Through composer:
{
"require": {
"spol/path": "0.1.*"
}
}
Usage
There are two concrete implementations of the Spol\Path\AbstractPath class, Spol\Path\UnixPath and Spol\Path\WindowsPath. Both provide the same interface, but handle directory separators and drive letters differently.
The Spol\Path\Path class provides a static facade to the appropriate class for the current system. Alternatively, either
class can be used directly, such as for working with paths for a different system.
Path::normalize('/usr/local/../bin') // '/usr/bin'
To Be Completed.
统计信息
- 总下载量: 1.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-01-19