zenstruck/browser
A Laravel-friendly browser testing toolkit built on Symfony BrowserKit and Panther. Easily crawl pages, click links, submit forms, assert on HTML, and drive real headless browsers—great for end-to-end tests and fluent, expressive UI assertions.
This package is exclusively for Symfony applications, not Laravel. As a PM, it's critical to clarify this distinction immediately—misapplying it to Laravel would cause compatibility failures. For Symfony projects, it supports decisions around streamlining functional/browser testing by reducing boilerplate code, improving test readability, and accelerating test creation. It’s ideal when teams need a fluent API to replace verbose Symfony TestClient syntax. However, for Laravel projects, this package is irrelevant; instead, prioritize Laravel-specific tools like Dusk or Pest. Choosing this package for non-Symfony stacks would waste engineering effort and delay testing maturity.
Adopt only for Symfony-based projects where:
client->request() calls)."This package cuts functional testing time by 30% for our Symfony app with a clean, readable syntax—no more boilerplate code. Engineers write tests faster, reduce bugs in test logic, and collaborate more easily. It’s MIT-
How can I help you explore Laravel packages today?