to uppercase laravel blade code example
Example 1: string to uppercase laravel
public function getProvince($value)
{
return strtoupper($value);
}
Example 2: laravel uppercase first letter
use Illuminate\Support\Str;
...
$string = Str::ucfirst('foo bar');