faustoff/laravel-contextify
Laravel Contextify is a lightweight package for managing application context in Laravel. Define and share contextual data across requests, services, jobs, and views through a simple, fluent API with Laravel-friendly helpers and minimal setup. It keeps context explicit and testable without overcompli...
composer.json for all environments while only activating it where it earns its keep.Consider adopting when:
Look elsewhere when:
For executives: This is a small, reversible dependency that improves our ability to diagnose production issues. The 4.4.0 release makes it switchable by configuration, so we can adopt it broadly, roll it out environment by environment, and turn it off in seconds if it causes trouble — no emergency deploy. It reduces mean time to resolution for incident work and avoids us building and maintaining an equivalent internal utility. Cost is one Composer dependency.
For engineering: Contextify threads request context through logs, jobs, and HTTP clients via middleware. 4.4.0 adds a config option to disable it entirely, which is the practical unlock: keep it installed everywhere, enable it in staging/production, and leave it off in local and CI so test output stays clean. There's no API break in this release — it's an additive config flag — so adoption is a config change plus a composer update, and the off switch gives you a clean rollback path if you see unexpected log volume or middleware overhead. Recommended next step: enable in one staging service, confirm log correlation and job propagation behave, then promote via the service template.
How can I help you explore Laravel packages today?