In this simple tutorial I will show you an example of how to perform form request validation using Laravel’s Validator Facade. What is FormRequest? FormRequest is Laravel’s default form request validation mechanism. FormRequest can be extedned to define your custom…
Tag: Form Request Validation
Using Unique Validation Rule in Form Request in Laravel
Sometimes you want to make a field unique in a database table so that duplicity should be avoided. The very common case is email address. Laravel provides useful tools to achieve this, including the Unique validation rule. However to make…