PHP utility traits of string related functions.
composer require hametuha/string-utility
<?php
MyClass {
use Hametuha\StringUtility\NamingConventions;
}
$my_instance = new MyClass();
echo $my_instance->camel_to_kebab( 'MyClassName' );
// -> 'my-class-name'
GPL 3.0 or later.