huruf pertama huruf besar
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' #}