orchestra/testbench-browser-kit
Adds Laravel BrowserKit testing to Orchestra Testbench for package development. Swap your base test case to Orchestra\Testbench\BrowserKit\TestCase to use fluent visit/see/form APIs in functional tests across supported Laravel versions.
spatie/laravel-permission, laravel/breeze, or custom admin panels.Adopt if:
Look elsewhere if:
"This package lets our engineering team test Laravel packages faster and more reliably—think of it as ‘GitHub Actions for testing’ but for package functionality. For example, if we’re building a new auth package, we can automatically verify that login flows, form submissions, and API responses work as expected, without manual QA. This reduces bugs in production and speeds up releases. The cost? Minimal—it’s a lightweight, open-source tool that integrates seamlessly with our existing Laravel stack. ROI? Fewer post-launch fixes and smoother adoption of our packages by other teams."
*"Testbench Browser Kit gives us BrowserKit testing superpowers for Laravel packages. Need to test a form submission in a package? Done. Verify an API endpoint returns the right JSON structure? Done. It’s like upgrading from assertEquals() to a full IDE for testing—fluent, readable, and packed with helpers for:
It’s zero setup beyond swapping a base test class, and it plays nice with Testbench. Perfect for ensuring our packages (or third-party ones) work end-to-end before they hit production."*
How can I help you explore Laravel packages today?