Laravel validation rules cover a wide variety. Testing which rule works for your specific
requirements can take some
time. This small tool can help you quickly decide which validation rules you should use and
which values are valid/invalid.
- Just select the rule from the dropdown @ top left
- Play with the Valid and Invalid inputs to check the output in the Demo section @ bottom
right
- Test more in the demo section as per your needs
- Copy the PHP (validation) and HTML (inputs) code for your app.
All done!