Lower Case Rule
Validate a String in Lower Case
117k Downloads / Month
Open Source MIT License
117k Downloads / Month
Open Source MIT License
Discover how to validate lower case strings with the additional validation rules of Intervention Validation for your Laravel application.
public Intervention\Validation\Rules\Lowercase::__construct()
The given value must be all lower case letters.
none
use Illuminate\Support\Facades\Validator;
use Intervention\Validation\Rules\Lowercase;
$validator = Validator::make($request->all(), [
'attribute-key' => new Lowercase(),
]);
Edit