Upper Case Rule
Validate String Formatted in Upper Case
179k Downloads / Month
Open Source MIT License
179k Downloads / Month
Open Source MIT License
Validate UPPERCASE strings in Laravel with Intervention Validation. Ensure all characters are uppercase.
public Intervention\Validation\Rules\Uppercase::__construct()
The field under validation must be all upper case.
none
use Illuminate\Support\Facades\Validator; use Intervention\Validation\Rules\Uppercase; $validator = Validator::make($request->all(), [ 'attribute-key' => new Uppercase(), ]);