Answers for "how to make first letter of a string in upper case in laravel"

PHP
1

laravel uppercase first letter

use Illuminate\Support\Str;

...

$string = Str::ucfirst('foo bar');
Posted by: Guest on August-17-2020

Code answers related to "how to make first letter of a string in upper case in laravel"

Browse Popular Code Answers by Language