guennichi/performist-bundle
A PHP bundle that packages Performist for easy integration, with configuration and service wiring out of the box. Install via Composer, enable the bundle, and use its services with minimal boilerplate—ideal for adding performance-oriented tooling to existing applications.
Context singleton early and regret it once they need scoping, serialization, or test isolation. This release moves that concern into a maintained dependency, so roadmap time goes to product surface rather than internal infrastructure.Consider adoption when:
Look elsewhere if:
Adoption caveats for this release specifically: custom attributes are a convention, not an enforced contract. Without a naming standard and a single place that documents valid keys, teams will diverge. Treat the attribute namespace as an API you own: define it, validate it at the boundary, and review additions.
For executives: This dependency removes a recurring category of internal plumbing work — carrying tenant, user, and rollout state through the application. The v1.3.0 release adds the ability to attach custom attributes to that context, which means new product variations (new plans, new markets, new experiment cohorts) can ship as configuration rather than as schema migrations and bespoke code. That shortens time-to-market for segmented features and lowers the carrying cost of multi-tenancy. Risk is low and contained: it is an additive feature with no breaking changes, and it is scoped to request/context handling rather than core domain logic.
For engineering: Custom attributes on context objects let you stop threading ad-hoc parameters through controllers, jobs, and listeners. Attach what you need at the entry point — HTTP middleware, queue worker, console command — and read it downstream. Two conditions for success: (1) publish a short registry of approved attribute keys with types and owners, and validate on write, because the attribute bag is untyped by design; (2) confirm the context is correctly propagated into queued and scheduled work, since that is where ambient state most often leaks. Budget a short spike to prove propagation and test isolation before rolling it across services, then standardize on it and delete the hand-rolled alternatives so you do not end up maintaining both.
Recommendation: Adopt for teams with existing or anticipated multi-context state; pilot on one service, document the attribute registry, and review after the first segmented feature ships.
How can I help you explore Laravel packages today?