Laravel Tutorials / June 16, 2015

Lumen and Fractal

Lumen and Fractal

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.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.