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. ijortengab/parse-html

ActiveLibrary

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)25.4k↑130.8%3[1 issues](https://github.com/ijortengab/parse-html/issues)GPLPHPPHP &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 1mo ago

READMEChangelogDependenciesVersions (8)Used By (0)

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

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

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

3765d 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)
```

PHPackages © 2026

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