for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author: RunnerLee
* @email: [email protected]
* @time: 2018-02
*/
namespace Runner\Heshen\Support;
class Str
{
* @param $string
*
* @return string
public static function studly($string): string
return str_replace(' ', '', lcfirst(ucwords(str_replace(['-', '_'], ' ', $string))));
}