blade to uppercase code example
Example 1: string to uppercase laravel
public function getProvince($value)
{
return strtoupper($value);
}
Example 2: blade capitalize first letter
$string = ucfirst("my name is doe");
public function getProvince($value)
{
return strtoupper($value);
}
$string = ucfirst("my name is doe");