tommus/stringo
Composer 安装命令:
composer require tommus/stringo
包简介
An object oriented solution to strings in php.
README 文档
README
An object oriented solution to strings in php.
Usage
// The from method creates a string from a string literal or variable. $string = Stringo::from('hello there'); // Methods that take no arguments can be used statically: $string = Stringo::fromCapitalize('hello'); // Hello $string = Stringo::fromSplit('hi there friend'); // ['hi', 'there', 'friend']
Full API reference coming soon but for now check out the Stringo class and StringTest for usage examples.
Testing
composer test
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-17