percymamedy/laravel-dev-booter
laravel-dev-booter streamlines Laravel package development by automatically discovering and registering your local package service providers in a host app. Skip manual config edits and boot packages instantly for faster, smoother build-test cycles.
composer install && php artisan serve currently triggers boot of Elasticsearch, a payment SDK, an observability agent, and a queue worker, new engineers pay that cost on every clone and every fresh container. This package makes the "don't boot prod services locally" rule explicit and repeatable instead of relying on tribal knowledge in AppServiceProvider..env values locally. Gating registration by environment is a cheap guardrail and reduces the "oops, I emailed 400 customers from my laptop" class of incident.Consider it when:
if (app()->isProduction()) calls across providers.Look elsewhere or skip it when:
AppServiceProvider change accomplishes the same thing with zero supply-chain surface.Migration/exit cost: essentially zero — remove the base class, inline the checks. That low switching cost is the strongest argument for trying it and the strongest argument for just writing it yourself.
For executives (30 seconds): This is a small, free, MIT-licensed utility that lets us keep expensive production-only integrations — payments, search, monitoring, SMS — switched off when engineers run the app on their own machines. The upside is faster developer setup and a hard guardrail against test runs that accidentally hit real vendors and generate real invoices. The cost is a few hours of integration and effectively nothing in licensing. It is not strategic infrastructure; it is a productivity and risk-hygiene tweak. I'd approve it as a small, reversible experiment, and expect the team to fold the pattern into our own codebase rather than depend on a 35-star package long-term.
For engineering: Adopt the pattern deliberately and the package cautiously. Concretely: introduce a base provider that separates prod-only and dev-only registrations, move the heavy SDKs behind it, and measure local boot time before and after. Validate that the app still fails loudly and usefully when a gated provider is absent — a silent success locally that breaks in production is a worse outcome than a slow boot. Given the low star count and single-maintainer profile, plan to vendor the ~dozen lines involved, or at minimum pin the version and add it to the dependency review list. If the real complaint is that business logic is welded to vendor SDKs, treat this as a stopgap and schedule the contracts-and-fakes refactor that makes the whole question moot.
How can I help you explore Laravel packages today?