Sitepoint – Data Validation Using a Service
Published on by Eric L. Barnes
Amit Gupta has a new tutorial series on Sitepoint about validation.
In this first part, we learned how to do data validations the Laravel way and how to abstract out validation to a service which can be used to validate data for each entity anywhere in the app.
My only complaint is the title saying this is the “right way”, it might be the right way today but I doubt it will be in 6 months.
Eric is the creator of Laravel News and has been covering Laravel since 2012.