Laravel API Resources + JSON API Spec API Resources are a new feature in Laravel 5.5 to convert objects to JSON responses. Here’s how to write API Resources that follow JSON API spec […]
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 simplify validation to just a single line of code […]