laracasts/behat-laravel-extension
A Behat extension that boots your Laravel application inside feature tests, giving step definitions access to the container, facades, database helpers, and configuration so you can write BDD-style acceptance tests.
Adopt or trial it when most of these hold:
Look elsewhere when:
To executives: This is a low-cost, MIT-licensed bridge that lets us describe acceptance criteria in plain English and have them automatically verified against the actual application — so "done" is demonstrable and regressions are caught before release. It's a tactical experiment, not a platform commitment: a one-to-two week spike, no license spend, and a clear kill criterion if scenarios aren't being written or read by non-engineers. The main caveat is that the library hasn't been released since 2018, so we'd validate compatibility with our Laravel version first and be prepared to own a small fork rather than depend on upstream.
To engineering: It boots the Laravel container inside Behat and supplies contexts/traits for HTTP calls, database transactions, and assertions, so step definitions stay thin. Realistically it targets an older Laravel/PHP generation — treat it as a reference implementation and a fast start, then expect to fork, pin, or replace with a few hundred lines of our own extension. We should agree upfront on who owns it and on a CI budget for a slower acceptance suite. If we're already on a modern Laravel, the honest recommendation is Pest/PHPUnit feature tests plus, only if the business genuinely wants Gherkin, a minimal homegrown Behat extension modeled on this one.
How can I help you explore Laravel packages today?