first letter upercase in larvel code example Example: laravel uppercase first letter use Illuminate\Support\Str; ... $string = Str::ucfirst('foo bar');