Answers for "how to validate string first letter in caps in laravel 8"

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 validate string first letter in caps in laravel 8"

Browse Popular Code Answers by Language