Laravel provides a powerful, expressive validation system to ensure incoming request data meets your rules before processing — protecting against bad and malicious input. The simplest form is $request->validate(), with rules expressed as strings or arrays.
Validating in a controller
{
= ->([
=> ,
=> , // must be a unique email
=> ,
=> , // requires password_confirmation
]);
::();
}
