bizarg/string-helper
最新稳定版本:1.2
Composer 安装命令:
composer require bizarg/string-helper
包简介
string helper function
README 文档
README
<?php use Bizarg\StringHelper\StringHelper; require __DIR__ . '/vendor/autoload.php'; StringHelper::camelCase('camel_case'); //camelCase StringHelper::upperCaseCamelCase('first_upper_camel_case'); //FirstUpperCamelCase StringHelper::toUnderscore('FirstUpperCamelCase'); //first_upper_camel_case StringHelper::toGlue('first_upper_camel_case', '-'); //first-upper-camel-case StringHelper::toHyphen('first_upper_camel_case'); //first-upper-camel-case StringHelper::match('first_upper_camel_case'); //['first', 'upper', 'camel', 'case'] StringHelper::match('FirstUpperCamelCase'); //['First', 'Upper', 'Camel','Case']
统计信息
- 总下载量: 207
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-28