/** * Converts a string to "camelCase" */ function str_camel_case($str) { return lcfirst(str_studly_case($str)); }
/** * Convert string to camel case. * * Original source: Laravel 4, adapted to remove Str dependency. * * @param string $value * @return string */ function str_camel_case($value) { return lcfirst(str_studly_case($value)); }