laravel wielki litera pierwsza litera
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');
Xfantasia
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');