I have followed Jeffrey's tutorial on Incremental API Development (https://laracasts.com/series/incremental-api-development) and I must say it has taught me a lot. I think that the format of developing something incrementally in a tutorial is a very effective way of teaching.
One thing that I did notice, though, is that although this tutorial hasn't been archived yet, it is now 2 years old.
I presume that there are now new and cooler ways of doing things. In the API tutorial, we create transformers and instantiate them via type-hinting in the constructor. It works great, although the constructor can get a bit crowded if we need to use more than one transformer in a given class.
I've been reading a lot about IoC / Service Providers and I was wondering if this would be a suitable approach to creating transformers instead? It seems as though it would make for cleaner code, but would there be any downsides?
Either way, given the enduring popularity of the Incremental API tutorial, I think that it would be nice if a new one based on Laravel (or Lumen) 5.1/5.2 were created.