hametuha / string-utility
PHP traits of string helper functions.
Installs: 13 579
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=5.6
Requires (Dev)
- phpunit/phpunit: >=5.7
- squizlabs/php_codesniffer: ^3.0
- wp-coding-standards/wpcs: ^2.0
This package is auto-updated.
Last update: 2024-11-29 05:33:30 UTC
README
PHP utility traits of string related functions.
Installation
composer require hametuha/string-utility
How To Use
<?php
MyClass {
use Hametuha\StringUtility\NamingConventions;
}
$my_instance = new MyClass();
echo $my_instance->camel_to_kebab( 'MyClassName' );
// -> 'my-class-name'
Lisence
GPL 3.0 or later.