Skip to content

Builds nice, normalized and easy to consume Laravel REST API JSON responses.

License

Notifications You must be signed in to change notification settings

marketing-relevance/laravel-api-response-builder

 
 

Repository files navigation

REST API Response Builder for Laravel

REST API Response Builder for Laravel

Latest Stable Version Build Status Code Quality Code Coverage Codacy Grade Badge Monthly Downloads License

Table of contents


Introduction

ResponseBuilder is a Laravel package, designed to help you build a nice, normalized and easy to consume REST API JSON responses.

Benefits

ResponseBuilder is written for REST API developers by REST API developer and is based on long-lasting experience on both "sides" of API. It's lightweight, extensively tested, simple to use yet flexible and powerful, with support for on-the-fly data conversion, localization, automatic message building, 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, to make dealing with your API a breeze. Simple JSON response, with well-defined and predictable structure, easy to consume without any hassle or trickery.

You are even covered in a case of emergency, as provided Exception Handler helper, ensures your API keeps talking JSON (and not HTML) to its clients even in case of unexpected.

Did I mention, you would also get testing traits that automatically unit test your whole ResponseBuilder related code and configuration with just a few lines of code?

Features

License

  • Written and copyrighted ©2016-2021 by Marcin Orlowski <mail (#) marcinorlowski (.) com>
  • ResponseBuilder is open-sourced software licensed under the MIT license

About

Builds nice, normalized and easy to consume Laravel REST API JSON responses.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%