première lettre de Laravel en majuscules
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');
Xfantasia
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');
{{ post.author.name | capitalize }}
{{ 'welcome'|upper }}
{# outputs 'WELCOME' #}