soyuka/contexts
Add lightweight context handling to PHP/Laravel apps with soyuka/contexts. Store and retrieve per-request or runtime context data (like user, locale, tracing IDs) in a clean API to simplify logging, debugging, and cross-cutting concerns without global state.
For Executives: "This package lets us turn user stories into automated tests—written in plain language by PMs—so we validate features faster and catch bugs before release. Think of it as ‘Google Tests for product teams’: no code, just ‘Given/When/Then’ scenarios that align dev and QA. Early adoption could cut manual QA time by 30% and reduce misaligned specs."
For Engineers: "Soyuka/contexts supercharges Behat by letting us define reusable, custom steps (e.g., ‘Given a user with role X’) without bloating the step library. It’s like Laravel’s service containers for BDD: clean, testable, and maintainable. The tradeoff? A slight learning curve to integrate, but long-term savings on flaky tests and spec gaps."
For PMs/POs: "No more deciphering technical jargon in test cases! You’ll write tests in the same language as your PRDs (e.g., ‘Then I see my saved payment methods’), and engineers will hook them up to the backend. It’s your safety net for ‘done’—no more ‘works on my machine’ surprises."
How can I help you explore Laravel packages today?