# jonnnnyw/php-phantomjs

Execute PhantomJS commands through PHP

Repository: https://github.com/jonnnnyw/php-phantomjs
Canonical: https://ross.abutalabs.com/products/php-phantomjs
Language: PHP
License: MIT
License Family: permissive
Last push: 2021-11-26T07:09:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4678, "days_push": 1741, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1426, forks 424 (observed 2026-08-28T04:04:41.679642+00:00)

## What it is
A PHP library that wraps the PhantomJS headless browser, letting PHP applications load web pages with full JavaScript support and inspect the responses. It also supports screen captures, PDF output, and running custom PhantomJS scripts.

## Use cases
- scrape javascript-rendered web pages from php
- take website screenshots programmatically
- render web pages to pdf
- test websites that require javascript
- capture page content headers and status codes
- run custom phantomjs scripts from php

## When to choose
- you need to render or scrape JS-heavy pages from a PHP codebase
- you want headless screenshots or PDF generation of web pages
- you need detailed response data like headers, status codes, and console errors

## When to avoid
- starting a new project - PhantomJS itself is abandoned and unmaintained
- you need a modern headless browser - use Puppeteer or Playwright instead
- your scraping does not require JavaScript execution

## Facets
- artifact type: library
- maturity: maintenance
- function: web-scraping, testing, pdf, image-processing, http-client
- domain: web-development, testing, crawlers
- platform: php, cli, cross-platform
- tags: phantomjs, headless-browser, screen-capture, page-rendering, automation

## Member repositories
- jonnnnyw/php-phantomjs (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.679642+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-30T04:37:26.832732+00:00, confidence not recorded.
  - readme: https://github.com/jonnnnyw/php-phantomjs (fetched 2026-08-28T04:04:41.679642+00:00, sha 0dd44ed5ccf2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
