ikwattro/string-object
Composer 安装命令:
composer require ikwattro/string-object
包简介
String manipulation with objects
README 文档
README
PHP String manipulation with objects.
Get it :
composer require ikwattro/string-object
Example :
$code = StringObject::newInstance("Toys - Bicycles and Bikes - 12398") ->split("-") ->last() ->trim();` # 12398
$formatted = StringObject::newInstance("Christmas is on 25/12") ->toLower() ->replace("/","-"); # christmas is on 25-12
Licence
MIT
统计信息
- 总下载量: 551
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-23