lanin/laravel-api-debugger
Inspect and debug Laravel API requests without scattering dumps: laravel-api-debugger captures headers, payloads, responses, status codes, and timing in a built-in UI, making it easy to trace failures, compare calls, and profile endpoints during development and testing.
Assessment basis: Package metadata is thin (no stars, composite score 0, 0 dependents) and the repository shows no downstream adoption signal. Findings below combine that metadata with the package's stated purpose and typical Laravel package mechanics; version/CI/license status should be verified directly before any commitment.
Architecture fit
composer require, auto-discovered service provider, publishable config, and HTTP middleware that augments JSON responses with a debug payload (queries, timings, memory, request context). That is a low-ceremony fit for a Laravel JSON API — no changes to controllers or resource classes, which is attractive for an existing API surface.Integration feasibility
/api/internal/*) rather than globally, which materially reduces blast radius.Technical risk
Key questions
laravel/framework and php constraints in composer.json, and do they cover our target versions? If not, is the diff small enough to fork and maintain?Recommendation: Evaluate as a developer-experience spike, not a production dependency. The value proposition (zero-instrumentation visibility into queries and timings while iterating on a JSON API) is real but is largely duplicated by Telescope, which is first-party, maintained, and does not mutate responses. Adopt only behind an explicit, tested environment gate on non-production route groups, with a named owner and an exit plan.
Stack fit
Migration path
require-dev, register the middleware on a dedicated local-only route group or via a config flag, publish config, and gate on app()->environment('local') and an explicit API_DEBUGGER_ENABLED env var (defence in depth — never rely on environment name alone).packages/ with a path repository) rather than depending on an unmaintained remote. This converts an external risk into an owned, small, auditable code surface — preferable to pinning a dead dependency.DB::listen + response macro) achieves 80% of the value in ~50 lines with full ownership. Budget this as the fallback and price it against fork cost.Compatibility
handle/terminate semantics), and whether response mutation works with JsonResponse, ResourceResponse, and streamed responses.barryvdh/laravel-debugbar, and Telescope should be validated — overlapping instrumentation can double-count or conflict.Sequencing
production/staging.Maintenance
Support
Scaling
Failure modes
APP_ENV.Ramp-up
How can I help you explore Laravel packages today?