Explore the Value of Custom Rules and Data Validation (With Laravel) in Inspector
Too Long; Didn't ReadHi, I'm Valerio Barbera, software engineer, founder and CTO at Inspector.
Data validation is one of the fundamental features in any application and it is something developers manipulate almost every day.
The value a software provides to users is often a function of the quality of data it is able to manage.
Laravel ships with a lot of predefined validation rules you can immediately use in your controllers.
Working on the Inspector backend we have identified some aspects of validating incoming data, which have an impact on the security and reliability of the application.
Furthermore, thanks to custom rules you can easily extend the validation layer of your app with functionalities provided by external services.
Let me start with a bit of context to clarify the role the validation layer plays in a backend service, then I’ll show you our implementations.