/u/mitchmckenna on Reducing Validation Bloat
August 5 2017, 1:07pm
No problem with form requests, I like form requests, I'm just providing an alternative approach, especially for Lumen users who don't have form requests. If it's a simple API I find the config approach works really well, if I have to override the authorize() function or need to add an After Hook I use form requests for that app.
https://www.reddit.com/r/laravel/comments/6rlmde/reducing_validation_bloat/dl7h1h9/
- Tags:
- laravel