andersao / andersao/l5-repository
Prettus\Validator versus FormRequest ?
Open
- Dominant language
- PHP
- Stars
- 4.2k
- Forks
- 880
- PR merge metrics
- No merged PRs in 30d
Description
I would have used Prettus\Validator but currently i don't want to have to add code to catch validationexception in controllers and/or Service classes
while using formrequest is capable of both encapsulating validation rules and managing form re-display with errors "magically"
how do you deal with ?
_it is highly possible that i miss something, i read several times l5-repository documentation validation part and laravel-validator doc_
Contributor guide
Assessment
This issue has not been assessed yet.