Reduce Validation Bloat in Laravel Controllers
In Laravel or Lumen, I’ve often noticed that a significant portion of my controllers can be validation calls. To solve this, I moved validation rules to a config file. By doing so, you can often...
View ArticleLaravel API Resources + JSON API Spec
Laravel 5.5 launched with API Resources, a new feature for building APIs. API Resources serve as a way to transform models and collections to JSON formatted API responses. It standardizes how to...
View Article
More Pages to Explore .....