php blade camelcase code example
Example 1: laravel uppercase first letter
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');
Example 2: blade capitalize first letter
$string = ucfirst("my name is doe");
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');
$string = ucfirst("my name is doe");