quonain/smart-response
SmartResponse is a Laravel package that returns JSON API responses or Blade/Inertia views from the same controller method, auto-detecting request type (Accept header, /api routes, bearer tokens). Includes pagination, response shortcuts, macros, caching, and meta enrichment.
|
Package
|
Constraint
|
|---|---|
| illuminate/contracts | ^10.0|^11.0|^12.0|^13.0 |
| illuminate/http | ^10.0|^11.0|^12.0|^13.0 |
| illuminate/pagination | ^10.0|^11.0|^12.0|^13.0 |
| illuminate/support | ^10.0|^11.0|^12.0|^13.0 |
| illuminate/translation | ^10.0|^11.0|^12.0|^13.0 |
| illuminate/view | ^10.0|^11.0|^12.0|^13.0 |
|
Package
|
Constraint
|
|---|---|
| orchestra/testbench | ^8.0|^9.0|^10.0|^11.0 |
| pestphp/pest | ^2.0|^3.0 |
| pestphp/pest-plugin-laravel | ^2.0|^3.0 |
| phpstan/phpstan | ^1.10|^2.0 |
How can I help you explore Laravel packages today?