Connect browser tests
to your PHP stack.

Use the Symfony bundle for kernel and fixture access, the Mink driver for existing suites, and the setup action for CI.

$ composer require --dev playwright-php/playwright-symfony
Frameworks

Run through Symfony or plain PHPUnit.

Symfony

playwright-symfony

Kernel-aware browser tests, Symfony fixtures, profiler access, and in-process request handling.

Package Framework
Package →
Symfony

Symfony browser testing

Kernel lifecycle, fixtures, authentication, profiler evidence, and browser-visible behavior.

Guide Symfony
Read guide →
PHPUnit

Browser tests in PHPUnit

Write browser tests as normal PHPUnit tests, with fresh contexts, web-first assertions, and failure artifacts.

Guide Testing
Read guide →
Packages

Bridges for existing test suites.

Mink

playwright-mink

A Mink driver for teams that already have browser tests built around Mink sessions.

Package Mink
Package →
Devices

devices

The Playwright device registry as PHP data: viewport, user agent, touch, and pixel ratio.

Package Emulation
Package →
Extensions

Audit what the browser actually sees.

Performance

performance

Measure Core Web Vitals and browser timings from real page loads.

Extension Web Vitals
Package →
Accessibility

accessibility

Run axe-core accessibility audits in the browser and assert violations from PHP.

Extension axe-core
Package →
Resources

Reference material and setup notes.

Cheatsheet

Quick reference

Common commands, objects, locators, assertions, and debugging moves in one place.

Resource
Open →
Examples

Runnable scripts

Small scripts grouped by navigation, screenshots, assertions, networking, and debugging.

Resource Code
Browse →
Need the map?

See every package
in one list.