# symfony/panther

A browser testing and web crawling library for PHP and Symfony

Repository: https://github.com/symfony/panther
Canonical: https://ross.abutalabs.com/products/panther
Homepage: https://symfony.com/packages/Panther
Language: PHP
License: MIT
License Family: permissive
Topics: scraping, e2e-testing, webdriver, selenium, selenium-webdriver, symfony, php, chromedriver, hacktoberfest
Last push: 2026-06-04T12:43:29+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 41, longevity 100
- inputs: {"age_days": 3092, "days_push": 90, "days_rel": 237, "gap_med": 171.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3067, forks 230 (observed 2026-08-28T04:07:41.444821+00:00)

## What it is
Symfony Panther is a PHP library for browser testing and web scraping that drives real browsers (Chrome, Firefox) via the W3C WebDriver protocol. It integrates with PHPUnit and Symfony's testing tools to run end-to-end tests and crawl JavaScript-heavy websites.

## Use cases
- run end-to-end tests in a real browser for a Symfony app
- scrape websites that require JavaScript rendering
- take screenshots during automated browser tests
- test real-time apps using WebSockets or Server-Sent Events
- execute JavaScript on pages during tests
- integrate browser tests into CI pipelines like GitHub Actions

## When to choose
- you need E2E browser testing in a PHP or Symfony project
- you want to scrape JavaScript-rendered pages from PHP
- you want WebDriver/Selenium-based testing with PHPUnit integration

## When to avoid
- you need browser testing in a non-PHP stack
- you only need simple HTTP-level tests without a real browser
- you need high-performance large-scale crawling rather than testing

## Facets
- artifact type: library
- maturity: active
- function: e2e-testing, web-scraping, testing, http-client
- domain: testing, web-development, crawlers, developer-tools
- platform: php, cross-platform, cli
- tags: webdriver, selenium, chromedriver, symfony, browser-automation, phpunit

## Member repositories
- symfony/panther (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.444821+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:11.085051+00:00, confidence not recorded.
  - readme: https://github.com/symfony/panther (fetched 2026-08-28T04:07:41.444821+00:00, sha 4dbb16d4aec2)
  - homepage: https://symfony.com/packages/Panther (fetched 2026-08-29T09:43:30.282106+00:00, sha 79086a6a4610)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:43:30.284459+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/testing/end_to_end.html (fetched 2026-08-29T09:43:30.286248+00:00, sha 4ba7b985c016)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:43:30.288938+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:43:30.290754+00:00, sha cdec5bd82c72)
- Data as of 2026-08-30T08:39:29.467469+00:00.
