Lumen and Fractal
Published on by Eric L. Barnes
Mario Bašić has created a new tutorial on implementing Lumen with Fractal. If you are not familiar Fractal it is a package that provides a presentation and transformation layer for complex data output like found in RESTful APIs. One of the bonuses of using Fractal is that it supports the JSON-API specification.
The tutorial goes through a real world project named Treeline and covers the basic setup plus it utilizes the Collection class as well as Fractal transformers.
Eric is the creator of Laravel News and has been covering Laravel since 2012.