src/Helpers.php
public static function camelCase($string, $character = '-')
    {
        $string = preg_replace('/[A-Z]/', $character . '$0', $string);
        $string = strtolower($string);

        return ltrim($string, $character);
    }
public static function camelCase($string, $character = '-')
    {
        $string = preg_replace('/[A-Z]/', $character . '$0', $string);
        $string = strtolower($string);

        return ltrim($string, $character);
    }
@param string $string
@param string $character

@return string