orchestra/testbench-dusk
Helper for testing Laravel packages with Laravel Dusk. Provides a Testbench-based setup to run browser tests in a package development workflow, maintained under the Orchestra namespace with ongoing support and community contributions.
Adopt if:
Look elsewhere if:
For Executives/Stakeholders: "This package lets us ship Laravel packages faster and with higher quality by automating browser-level tests—critical for features like custom admin dashboards, Blade components, or JavaScript-dependent workflows. Instead of spending weeks building custom testing infrastructure, we’ll validate UI/UX and integration issues early, reducing post-release bugs and support costs. For example, if we’re building a premium package for Laravel’s admin panel, this ensures every template and interaction works flawlessly before customers adopt it. It’s a force multiplier for our dev team, turning manual QA into automated guardrails."
For Engineers: *"Testbench-Dusk bridges the gap between Laravel Testbench (unit/feature tests) and Dusk (E2E tests) for packages. It’s like having a pre-built testing skeleton for your package’s frontend interactions—no more reinventing the wheel for Dusk setup, ChromeDriver config, or test isolation. Key benefits:
createApplication() for package testing.Use case: If your package renders a Blade component or has a custom JS workflow, this lets you test it in a real browser—just like a user would—without the overhead of setting up Dusk from scratch. Perfect for TDD or validating package demos."*
How can I help you explore Laravel packages today?