toUpperFirst
This method capitalizes only the first letter of the string while keeping the rest unchanged.
Usage
$string = 'hello world';
$string = SM::toUpperFirst($string);
// or
$string = SM::make($string)
->toUpperFirst();
echo $string; // Hello world