# TobiaszCudnik/phpquery

Server-side implementation of jQuery in PHP5 (2009)

Repository: https://github.com/TobiaszCudnik/phpquery
Canonical: https://ross.abutalabs.com/products/phpquery
Language: PHP
License Family: other
Archived: true
Last push: 2018-10-23T10:57:25+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5587, "days_push": 2871, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1064, forks 442 (observed 2026-08-28T04:03:26.455354+00:00)

## What it is
phpQuery is a server-side, chainable, CSS3-selector-driven DOM API for PHP5 modeled on the jQuery JavaScript library. It also ships a command-line interface for querying HTML documents.

## Use cases
- scrape and parse HTML pages in PHP
- manipulate DOM documents with jQuery-style selectors
- extract content from HTML using CSS3 selectors
- query HTML files from the command line
- port jQuery-style DOM code to server-side PHP

## When to choose
- you are maintaining a legacy PHP5 codebase already using phpQuery
- you want a familiar jQuery-like API for DOM manipulation in PHP

## When to avoid
- you are starting a new PHP project - the library is unmaintained since ~2009 with no license file
- you need modern PHP 7/8 compatibility or security updates
- you only need simple HTML parsing - consider maintained alternatives like Symfony DomCrawler or native DOMDocument

## Facets
- artifact type: library
- maturity: abandoned
- function: parser, web-scraping, cli
- domain: web-development, parsers, developer-tools
- platform: php, cli
- tags: jquery-like, dom-manipulation, css-selectors, html-parsing, unmaintained

## Member repositories
- TobiaszCudnik/phpquery (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.455354+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-30T06:55:47.386728+00:00, confidence not recorded.
  - readme: https://github.com/TobiaszCudnik/phpquery (fetched 2026-08-28T04:03:26.455354+00:00, sha 14e8928ca6e4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
