Form Request classes are custom request classes that encapsulate validation (and authorization) logic for a specific request. They move validation rules out of controllers into dedicated, reusable classes — keeping controllers thin and validation organized.
Creating and using a Form Request
{
{
->()->(, ::);
}
{
[
=> ,
=> ,
=> ,
];
}
{
[ => ];
}
}
