bsll/api-bundle
Laravel bundle for building and organizing JSON API endpoints, with helpers for routing, request/response handling, and common API concerns. A lightweight starting point for integrating an API layer into an existing app or new project.
config/ or migrations/ structure hints).php artisan make:controller).FormRequest)?array_column vs. Arr::pluck).HttpTests or Pest?Route::apiResource() overrides).App\Http\Controllers vs. bundle’s controllers)..env variables or config/app.php changes?laravel-debugbar to compare before/after).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Bundle introduces a critical bug | API downtime, data corruption | Feature flags, rollback plan |
| Incompatible with Laravel updates | Broken functionality | Isolation in a separate service |
| Poor performance under load | Slow response times, timeouts | Load testing, query optimization |
| Security vulnerability | Data breaches, unauthorized access | Dependency scanning (e.g., Laravel Pint, Snyk) |
| Abandoned package | No future updates | Fork or migrate to a maintained alternative |
JsonResponse").How can I help you explore Laravel packages today?