Build normalized & easy to consume Laravel REST API JSON responses
"ResponseBuilder is Laravel's helper designed to build nice, normalized and easy to consume REST API JSON responses.
It is written for REST API developers by REST API developer and is based on my long lasting experience on both "sides" (API dev and API consumer) of variety of REST APIs.
Lightweight, with simple to use public methods, covering multiple potential use-cases, on-the-fly data conversion, localization support, automatic error message building, support for chained APIs and (hopefully) exhaustive documentation.
But that's not all! The JSON structure produced by ResponseBuilder is designed with users of your API in mind, which helps them easily deal with your API with ease. They get simple, well defined and predictable JSON structure responses with all the fields needed to consume it without any unnecessary a hassle nor other trickery."