public static function camelCase($string)
{
// non-alpha and non-numeric characters become spaces
$string = preg_replace('/[^a-z0-9' . implode('', []) . ']+/i', ' ', $string);
$string = trim($string);
// uppercase the first character of each word
$string = ucwords($string);
$string = str_replace(' ', '', $string);
$string = lcfirst($string);
return $string;
}