Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Actionable Diagnostics Laravel Package

alex-kassel/laravel-actionable-diagnostics

Laravel Actionable Diagnostics brings structured health checks to your app, surfacing issues in configuration, environment, and services with clear, actionable fixes. Catch problems early and resolve them faster with diagnostics that tell you exactly what to do next.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Observability build-vs-buy for Laravel services. This package sits in the "diagnostics and incident ergonomics" lane: a multichannel diagnostic event engine plus an "actionable exception" framework. The PM decision it informs is whether to standardize error/diagnostic reporting in-house on Laravel primitives or pay for a third-party APM/error-tracking vendor. It is a candidate for the standardize internally branch, not a replacement for full APM.
  • Incident response quality as a roadmap theme. "Actionable exceptions" implies errors carry remediation context (what broke, who owns it, what to do next) rather than raw stack traces. That supports roadmap items framed as reduce mean time to diagnose rather than add more logging — a more defensible business case for engineering investment.
  • Fan-out of operational signals to multiple channels. The WebhookDispatcher (now built on Laravel's Http facade) plus configurable channels means a product decision on where alerts land — Slack, PagerDuty, internal ticketing — can be deferred to configuration rather than baked into code. Good for multi-tenant or multi-customer deployments where channel choice varies per environment.
  • Inbound diagnostic ingestion as a product surface. v1.0.2 added opt-in HTTP ingestion routes with a configurable prefix (actionable-diagnostics.routes.enabled, prefix). This unlocks client-side or cross-service diagnostic submission — relevant if you ship SDKs, mobile clients, or a partner integration that needs to report problems into your Laravel backend. Default-off is the right posture and should be reflected in your security review, not just config.
  • Release governance maturity. The 5-section RELEASE-GATE.md certification and Audit: Verified badge are process artifacts. Treat them as a signal of maintainer discipline (useful when deciding whether to depend on this in production), not as a product capability.
  • Adoption sequencing. Because this is a v1.0.x package with a short history, the practical roadmap decision is pilot in one service behind a config flag before any org-wide standardization.

When to Consider This Package

Consider adopting when:

  • You run one or more Laravel services and want consistent, structured diagnostic events without standing up a bespoke internal package from scratch.
  • You already route operational alerts to webhooks (chat ops, incident tooling) and want that dispatch standardized behind Laravel's Http client — testable via Http::fake(), which matters for CI hygiene.
  • You need a self-hosted, no-vendor diagnostics path — data residency, air-gapped, or procurement constraints that rule out SaaS error trackers.
  • You want diagnostics as a first-class configurable concern: published config (config/actionable-diagnostics.php), routes off by default, per-environment channel selection.
  • You value static-analysis rigor in dependencies: PHPStan Level MAX with full generic iterable annotations means it composes predictably in a strictly-typed codebase.

Look elsewhere when:

  • You need full APM: tracing, span-level latency, database query profiling, distributed context propagation. This is an event/exception framework, not an observability platform.
  • Your stack isn't Laravel/PHP — the value is bound to framework primitives (Http facade, config publishing, service provider conventions).
  • You need enterprise guarantees: long-term support commitments, published security policy and CVE history, SLA. At v1.0.x with a changelog that is still largely documentation and packaging work, there is no track record to underwrite that.
  • Your organization forbids enabling inbound HTTP ingestion endpoints, and you need cross-service submission — the route feature is the ingress path, and it is opt-in only.
  • You require a stable public API contract across major versions before committing; SemVer is declared, but the surface is young and the 1.0.0 → 1.0.3 delta is mostly scaffolding, so downstream breaking-change risk is unproven rather than low.

Due diligence before adoption: verify the exception-to-diagnostic mapping covers your actual failure modes, confirm the ingestion route ships with authorization/throttling middleware hooks, and check the test bootstrap approach fits your CI (dynamic tests/bootstrap.php is opinionated).

How to Pitch It (Stakeholders)

For executives — the one-liner: A small, self-hosted Laravel component that turns raw exceptions into structured, actionable diagnostics and routes them to the channels we already use — no new vendor contract, no per-seat or per-event cost, and no production endpoint exposed unless we explicitly turn it on.

The business case:

  • Cost avoidance: replaces a slice of paid error-tracking spend and eliminates an internal "we should build a diagnostics layer" backlog item.
  • Faster incident resolution: the premise is that each alert tells the responder what to do, not just what failed — a direct lever on mean time to recovery.
  • Low switching cost: configuration-driven, routes disabled by default, so the blast radius of trying it is one service behind a flag.

For engineering — the substance:

  • Config-first design: a published config/actionable-diagnostics.php, channels selected per environment, and inbound ingestion routes gated behind routes.enabled with a configurable prefix. Nothing is on until you turn it on.
  • Webhook dispatch runs through Illuminate\Support\Facades\Http, so it is fakeable in tests and consistent with the rest of the framework's HTTP behavior — no bespoke curl wrapper to audit.
  • PHPStan Level MAX with full generic iterable annotations and a bootstrapped test suite. That is a stronger quality bar than most packages reach at 1.0, and it means fewer surprises when it lands in a strictly-typed codebase.
  • Release hygiene is visible: Keep a Changelog format, SemVer, a documented release-gate certification, and Packagist-ready packaging (.gitattributes export-ignore, centered README header, navigation links).

The honest caveat to state up front: this is a young 1.0.x package. The 1.0.0 → 1.0.3 delta is dominated by documentation, badges, and packaging rather than functional expansion — the one substantive increment was the config file and opt-in ingestion routes. Recommended posture is a single-service pilot with an explicit evaluation window, not org-wide standardization, and with an eye on whether the next few releases add functional depth or continue to be presentation-layer work.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib