ahmadwaleed/laravel-blanket
Laravel Blanket wraps controller actions in a single, reusable layer so you can apply consistent logic like caching, logging, or authorization without repeating code. Lightweight and simple, it keeps controllers clean and behavior predictable across your app.
Architecture fit. Blanket is an observability sidecar, not a business-logic package. It hooks Laravel's outbound HTTP client events, persists request/response records, and serves a Blade dashboard — conceptually a narrower Telescope scoped to Illuminate\Support\Facades\Http calls. That makes it a dev/staging diagnostic, not a runtime dependency. For a platform team supporting many Laravel services that integrate with third-party APIs (payments, KYC, logistics, notifications), the debugging value is real but bounded.
Integration feasibility. Low effort: composer require --dev, service provider auto-discovery, publish config and migration, gate the dashboard route behind a Gate. A competent Laravel engineer can produce a working spike in under a day. The blocker is not effort, it's compatibility and ownership.
Technical risk.
illuminate/* constraint conflicts and a fork to install on current versions. Score of 2.39 and 215 stars confirms a small, inactive surface.Key questions.
Stack fit. Best suited to Laravel services with meaningful outbound HTTP volume and painful third-party debugging. Poor fit for services with little egress traffic or strict data-handling obligations without redaction work.
Migration path. Effectively zero lock-in: dev-only dependency, its own migration and config, no coupling to application code. Reversal is composer remove plus dropping one table. That low switching cost is the strongest argument for a time-boxed pilot.
Compatibility. Pin an exact version, test against our Laravel/PHP matrix in CI, and verify the Illuminate\Http\Client\Events surface it listens on is still stable on our target version. Assume a fork is required; budget for it up front rather than discovering it mid-pilot.
Sequencing.
--dev, with a named owner and review date.Maintenance. Treat as unmaintained. Budget a fork, an owner, and periodic compatibility patches. The codebase is small enough that this is tractable, but it is a recurring cost, not a one-off.
Support. Community-only, 215 stars, no vendor, no SLA. Internal SME coverage is required; there is no escalation path.
Scaling. Every captured outbound call is a database write — added latency on the request path and a table that grows quickly in high-egress services. Dashboard queries degrade as volume rises. Needs sampling, retention limits, and ideally a separate connection before it touches anything busy.
Failure modes.
Ramp-up. Hours for a Laravel developer already familiar with Telescope; no formal training. The real cost is organizational discipline — ensuring it never reaches production and that captured credentials are redacted.
TPM recommendation. Conditional, dev-only. Approve a short pilot only if Telescope demonstrably fails the team's debugging needs; otherwise the redundancy, abandonment risk, and sensitive-data surface outweigh the convenience. If adopted, adopt the fork at the same time, not later.
How can I help you explore Laravel packages today?