marcin-orlowski/laravel-api-response-builder
Larablocks Analysis
marcin-orlowski/laravel-api-response-builder works with Laravel 13 (latest release 13.0.0, Jul 17, 2026).
Laravel 5 to 12 in earlier releases.
Recommendation checks
RecommendedRecommended by Larablocks: meets all 4 checks.
- Works with Laravel 13, the current version
- Released in the last 12 months (Jul 17, 2026)
- 16,856 downloads a month (at least 10,000)
- 853 GitHub stars (at least 100)
State
Actively maintained- Last stable release: Jul 17, 2026.
- 3 releases in the last 12 months.
- First released: Apr 11, 2016.
- Monthly downloads: 16,856, up 60% from six months ago.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require marcin-orlowski/laravel-api-response-builder |
|
| Latest Version: | 13.0.0 |
| PHP: | ^8.3|^8.4|^8.5 |
| Laravel: | 13 |
| Older releases: | 5 – 12 |
| License: | MIT |
| Last Updated: | Jul 17, 2026 |
| Links: | GitHub · Packagist |

REST API Response Builder for Laravel
Table of contents
Introduction
ResponseBuilder is a Laravel package, designed to help you build nice,
normalized, and easy-to-consume REST API JSON responses.
Benefits
ResponseBuilder is written for REST API developers by REST API developers, drawing from extensive
experience on both sides of API development. It's lightweight, has no dependencies, is
thoroughly tested, and is simple to use while remaining flexible and powerful. It offers support
for on-the-fly data conversion, localization,
automatic message building, chained APIs,
and comprehensive documentation.
Moreover, the JSON structure produced by ResponseBuilder is designed with your API users in
mind. Its well-defined and predictable structure makes
interacting with your API using ResponseBuilder effortless. The simple, consistent JSON responses
are easy to consume. Your clients will appreciate it!
You're also covered in case of emergencies. The provided ExceptionHandlerHelper ensures your API continues to communicate in JSON (not HTML) with its clients, even in unexpected situations.
Additionally, it includes testing traits that help you add PHPUnit-based tests
for your ResponseBuilder integration with just a few lines of code.
Features
- Easy to use,
- Stable and production ready
- On-the-fly data object conversion,
- API chaining support,
- Localization support,
- Provides traits to help unit test your API code,
- Comes with an exception handler helper to ensure your API remains consumable even in unexpected situations.
- No additional dependencies.
License
- Written and copyrighted ©2016-2026 by Marcin Orlowski <mail (#) marcinorlowski (.) com>
- ResponseBuilder is open-source software licensed under the MIT license
Alternatives to marcin-orlowski/laravel-api-response-builder
Handle the output of complex data structures ready for API output.
Super Fast, Lightweight, Standard, Octane Compatible, and High Customizable pack...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 13.0.0 | ^8.3| | ^13.2 | MIT | |
| 12.1.3 | ^8.2| | ^12.0 | MIT | |
| 12.1.2 | ^8.2| | ^12.0 | MIT | |
| 12.1.1 | ^8.2| | ^12.0 | MIT | |
| 12.1.0 | ^8.2| | ^12.0 | MIT | |
| 12.0.2 | ^8.2| | ^12.0 | MIT | |
| 12.0.1 | ^8.2| | ^12.0 | MIT | |
| 12.0.0 | ^8.2| | ^12.0 | MIT | |
| 11.0.0 | ^8.2| | ^11.0 | MIT | |
| 10.0.0 | ^8.1| | ^10.0 | MIT | |
| 9.4.0 | ^8.0| | ^9.0 | MIT | |
| 9.3.2 | ^7.2 | | >= 6.0 | MIT | |
| 9.3.1 | ^7.2 | | >= 6.0 | MIT | |
| 9.3.0 | ^7.2 | | >= 6.0 | MIT | |
| 9.2.3 | >=7.2.0 | >= 6.0 | MIT | |
| 9.2.2 | >=7.2.0 | >= 6.0 | MIT | |
| 9.2.1 | >=7.2.0 | >= 6.0 | MIT | |
| 9.2.0 | >=7.2.0 | >= 6.0 | MIT | |
| 9.1.1 | >=7.2.0 | >= 6.0 | MIT | |
| 9.1.0 | >=7.2.0 | >= 6.0 | MIT | |
| 9.0.3 | >=7.2.0 | >= 6.0 | MIT | |
| 9.0.2 | >=7.2.0 | >= 6.0 | MIT | |
| 9.0.1 | >=7.2.0 | >= 6.0 | MIT | |
| 9.0.0 | >=7.2.0 | >= 6.0 | MIT | |
| 8.1.1 | >=7.2.0 | >= 6.0 | MIT | |
| 8.1.0 | >=7.2.0 | >= 6.0 | MIT | |
| 8.0.1 | >=7.2.0 | >= 6.0 | MIT | |
| 8.0.0 | >=7.2.0 | >= 6.0 | MIT | |
| 7.1.2 | >=7.2.0 | >= 6.0 | MIT | |
| 7.1.1 | >=7.2.0 | >= 6.0 | MIT |
Showing the latest 30 of 76. See every release on Packagist
