PHPackages                             ijortengab/parse-html - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ijortengab/parse-html

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ijortengab/parse-html
=====================

ParseHTML is PHP library working like jQuery, give you an easy way to get any information from text html.

v0.0.7(10y ago)35.9k↓75%3[1 issues](https://github.com/ijortengab/parse-html/issues)1GPLPHPPHP &gt;=5.4.0

Since Nov 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ijortengab/parse-html)[ Packagist](https://packagist.org/packages/ijortengab/parse-html)[ RSS](/packages/ijortengab-parse-html/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (8)Used By (1)

parseHTML
=========

[](#parsehtml)

parseHTML is PHP library working like jQuery, give you an easy way to get any information from text html.

Requirement
-----------

[](#requirement)

PHP 5.4

Usage
-----

[](#usage)

If you familiar with jQuery, you'll be smile.

jQueryparseHTMLdocument$contents = file\_get\_contents('~/my.html');$html = $(document);$html = new parseHTML($contents);var title = $html.find('title').text();$title = $html-&gt;find('title')-&gt;text();var url = $html.find('a.links').attr('href');$url = $html-&gt;find('a.links')-&gt;attr('href');Method Support
--------------

[](#method-support)

MethodDescription::find()::html()::text()::attr()::eq()::getElementById()::getElementByClass()::getElementByTag()::getElementByAttribute()Selector Support
----------------

[](#selector-support)

You can find more description by visit this link

SelectorExampleID selector`#my-table-1`Class Selector`.links'`Element Selector`element`Descendant Selector`ancestor descendant`Child Selector`parent > child`Attribute`[name]`Attribute Contains Prefix Selector```\[nameAttribute Contains Selector`[name*='value']`Attribute Contains Word Selector`[name~='value']`Attribute Ends With Selector`[name$='value']`Attribute Equals Selector`[name='value']`Attribute Not Equal Selector`[name!='value']`Attribute Starts With Selector`[name^='value']`Of course, you can mix all selector above, example:

- \#form-register.front input
- a.links\[ref='nofollow'\]
- div.office &gt; span.address

and, you can get multiple selector, example:

- 'input, textarea, select, button'

Simlilar Project
----------------

[](#simlilar-project)

[PHP Simple HTML DOM Parser](http://simplehtmldom.sourceforge.net/)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Total

7

Last Release

3856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b533715f9a68110d9720eb9884d5b281be8210d356c7b6ec02e62ae988895ebb?d=identicon)[ijortengab](/maintainers/ijortengab)

---

Top Contributors

[![ijortengab](https://avatars.githubusercontent.com/u/2307081?v=4)](https://github.com/ijortengab "ijortengab (18 commits)")

### Embed Badge

![Health badge](/badges/ijortengab-parse-html/health.svg)

```
[![Health](https://phpackages.com/badges/ijortengab-parse-html/health.svg)](https://phpackages.com/packages/ijortengab-parse-html)
```

###  Alternatives

[jakubledl/dissect

Lexing and parsing in pure PHP

2234.7M12](/packages/jakubledl-dissect)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9845.4k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46164.0k6](/packages/jstewmc-rtf)[ladamalina/lingua-stem-ru

Стеммер Портера. Извлечение корня из русского слова, без словаря.

268.4k](/packages/ladamalina-lingua-stem-ru)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.4k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
