jjok / string
此包已被 废弃 并不再维护。未建议替代包。
PHP 有用的字符串函数。
1.0.1
2013-09-25 11:49 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2020-01-19 16:54:50 UTC
README
PHP 有用的字符串函数。
echo jjok\String\String::camelise('a-hyphenated-string');
// aHyphenatedString
echo jjok\String\String::capitalise('another-hyphenated-string');
// AnotherHyphenatedString
echo jjok\String\String::hyphenate('someCamelCaseString');
// some-camel-case-string
版权 (c) 2013 Jonathan Jefferies