What is validation in laravel and how it is used?
Validation is the most important thing while designing an application. It validates the incoming data. It uses ValidatesRequests trait which provides a convenient method to authenticate incoming HTTP requests with powerful validation rules.
Here are some Available Validation Rules in Laravel are listed:-
- Date Format
- IP Address
- Min , Max
- Unique with database etc
BY Best Interview Question ON 26 Dec 2020