composer require ddvphp/ddv-util
$a = \DdvPhp\DdvUtil\String\Conversion::humpToUnderline('userLoginTest');
var_dump($a);
$a = \DdvPhp\DdvUtil\String\Conversion::humpToUnderlineByArray([
'userLoginTest'=>'11',
'userLoginTest1'=>'12'
]);
var_dump($a);
$a = \DdvPhp\DdvUtil\String\Conversion::underlineToHump('user_login_test');
var_dump($a);
$a = \DdvPhp\DdvUtil\String\Conversion::middleLineToHump('user-login-test');
var_dump($a);