# chrome-php/chrome

Instrument headless chrome/chromium instances from PHP

Repository: https://github.com/chrome-php/chrome
Canonical: https://ross.abutalabs.com/products/chrome
Language: PHP
License: MIT
License Family: permissive
Topics: hacktoberfest
Last push: 2026-07-06T19:08:32+00:00

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

## Adoption (not part of the score)
Stars 2675, forks 323 (observed 2026-08-28T04:07:09.798385+00:00)

## What it is
A PHP library for controlling headless Chrome/Chromium browsers via the DevTools protocol, supporting both synchronous and asynchronous usage. It enables navigation, JavaScript evaluation, screenshots, PDF generation, and mouse/keyboard emulation from PHP code.

## Use cases
- take screenshots of web pages from php
- generate pdfs from html pages
- scrape javascript-rendered websites
- crawl websites with a headless browser
- evaluate javascript on a page from php
- automate browser interactions like clicks and typing
- test web pages headlessly

## When to choose
- you need to drive a real browser from PHP
- you need to render or screenshot JavaScript-heavy pages
- you want to generate PDFs from web pages in PHP
- you need to scrape sites that require JS execution

## When to avoid
- you use a language other than PHP
- you only need simple HTTP requests without JS rendering
- you need a distributed browser grid like Selenium or Playwright ecosystems
- you need mobile browser emulation beyond Chrome

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, pdf, image-processing, developer-tools
- domain: web-development, crawlers, pdf
- platform: windows, php, cli
- tags: headless-chrome, browser-automation, chromium, devtools-protocol, screenshots, pdf-generation, crawler, automation, linux, macos

## Member repositories
- chrome-php/chrome (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.798385+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-30T02:18:02.338237+00:00, confidence not recorded.
  - readme: https://github.com/chrome-php/chrome (fetched 2026-08-28T04:07:09.798385+00:00, sha 5c213ee8517d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
