# symfony/browser-kit

Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically

Repository: https://github.com/symfony/browser-kit
Canonical: https://ross.abutalabs.com/products/browser-kit
Homepage: https://symfony.com/browser-kit
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component
Last push: 2026-08-22T13:46:21+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 5671, "days_push": 11, "days_rel": 11, "gap_med": 0.0, "n_releases_24m": 33}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3012, forks 59 (observed 2026-08-28T04:07:37.811701+00:00)

## What it is
Symfony BrowserKit is a PHP component that simulates the behavior of a web browser, enabling programmatic requests, link clicks, and form submissions. It ships with an HttpBrowser implementation built on the HttpClient component and integrates with Symfony's functional testing workflow.

## Use cases
- simulate a web browser in php tests
- click links and submit forms programmatically
- write functional tests for symfony applications
- scrape websites by navigating pages and forms
- make http requests with cookie and history handling

## When to choose
- you are writing functional tests for a Symfony or PHP application
- you need programmatic browser-like navigation (cookies, history, forms) without a real browser
- you want a lightweight alternative to headless browsers for HTTP-level testing

## When to avoid
- you need JavaScript rendering or a real browser engine
- you are not working in PHP
- you need full end-to-end browser automation like Playwright or Selenium

## Facets
- artifact type: library
- maturity: stable
- function: http-client, testing, web-scraping
- domain: web-development, testing, developer-tools
- platform: php
- tags: symfony-component, browser-simulation, functional-testing, dom-crawler, form-submission

## Member repositories
- symfony/browser-kit (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:37.811701+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-29T18:47:02.397569+00:00, confidence not recorded.
  - readme: https://github.com/symfony/browser-kit (fetched 2026-08-28T04:07:37.811701+00:00, sha 6ccbf88d3062)
  - homepage: https://symfony.com/browser-kit (fetched 2026-08-29T09:45:30.871663+00:00, sha 09ee6c76c88a)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:45:30.880477+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/components/browser_kit.html (fetched 2026-08-29T09:45:30.882566+00:00, sha cc7bff249427)
  - site_page: https://symfony.com/projects/phpmyfaq (fetched 2026-08-29T09:45:30.885017+00:00, sha 3596e76ac3ce)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:45:30.886860+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:45:30.888750+00:00, sha cdec5bd82c72)
- Data as of 2026-08-30T08:39:29.467469+00:00.
