pixelfederation/phystrix-bundle
Symfony bundle integrating Phystrix, the PHP circuit breaker library, to make service calls fault tolerant. Configure circuit breakers, fallbacks, and monitoring to isolate failures and keep applications responsive.
composer require --dev barryvdh/laravel-debugbar. Package discovery registers the service provider and the Debugbar facade automatically.php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider" → config/debugbar.php. Control it per environment with DEBUGBAR_ENABLED (defaults to APP_DEBUG).debugbar() in a controller or Blade view: debugbar()->info($payload); dumps into the Messages tab without breaking the response, and debugbar()->startMeasure('x') / stopMeasure('x') gives you a Timeline entry.config/debugbar.php: enabled, collectors (php, messages, time, memory, exceptions, views, route, queries, mails, auth, gates, session, request, logs, twig), and inject. Turning inject off while leaving enabled on is the documented way to collect without rendering the bar.Debugbar::startMeasure() / stopMeasure(), or use Debugbar::measure('label', fn () => ...). Prefer this over ->info() for anything you want to compare across requests.DebugBar\DataCollector\DataCollector (implement collect() and getName()), then register it in config/debugbar.php under collectors or at runtime with Debugbar::addCollector(new MyCollector()) — typically from a service provider's boot() guarded by config('debugbar.enabled').debugbar calls inside .twig files reach the collector; this is the surface touched by 4.0.1 (profiler collector Twig template rendering). Validate with a template that loops over collector data, not just a scalar dump.Debugbar::enable() in middleware (or pass the query flag), then read Debugbar::getData() — the bar can't inject into a JSON body, so wire the payload into a header or a dedicated ?debugbar endpoint during development.enabled => false globally and flip it per request via middleware, a route group, or an IP allowlist in config/debugbar.php. This is the pattern that survives contact with a shared staging box.inject => false) and assert against Debugbar::getCollectors() / getData() instead of scraping HTML.config/debugbar.php, run php artisan config:clear. A cached config is the most common reason "the bar disappeared" or a collector you added never fires.resources/views/vendor/debugbar (and clear compiled views) — otherwise the patch is inert for you.null/array storage in long-lived dev environments.inject => false ≠ disabled. Collectors still run and consume memory; only the render step is skipped.phpdebugbar-id response header with the open-handler, or fall back to Debugbar::getData().Debugbar::enable() middleware sits after the response is generated (or inside a terminating callback for streamed responses), you get no data.Debugbar::addMessage() with a severity, and the debugbar.collect/storage hooks — these let you keep instrumentation while turning the visual bar off for other developers.How can I help you explore Laravel packages today?