PHPackages                             yubarajshrestha/html-dom-parser - 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. yubarajshrestha/html-dom-parser

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

yubarajshrestha/html-dom-parser
===============================

This package a simple wrapper around Simple Html Dom Parser library. It provides a simple way to parse html and extract data from it.

v0.0.2(4y ago)117MITPHP

Since Dec 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yubarajshrestha/html-dom-parser)[ Packagist](https://packagist.org/packages/yubarajshrestha/html-dom-parser)[ RSS](/packages/yubarajshrestha-html-dom-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

### HtmlDomParser

[](#htmldomparser)

[![Total Downloads](https://camo.githubusercontent.com/7f17d684e9980df88ce7de91e1548e5af9d4341120b2bbbb66afe48d15836c8e/68747470733a2f2f706f7365722e707567782e6f72672f7975626172616a73687265737468612f68746d6c2d646f6d2d7061727365722f646f776e6c6f616473)](https://packagist.org/packages/yubarajshrestha/html-dom-parser)[![License](https://camo.githubusercontent.com/2a20c5298122be924f45b04ac5f5de18fcd0e81e9f675d7156b2e24aef57b742/68747470733a2f2f706f7365722e707567782e6f72672f7975626172616a73687265737468612f68746d6c2d646f6d2d7061727365722f6c6963656e7365)](https://packagist.org/packages/yubarajshrestha/html-dom-parser)

This package a simple wrapper around ***Simple Html Dom Parser*** library.

### How to?

[](#how-to)

#### Step 1: Install package

[](#step-1-install-package)

Install package by executing the command.

```
composer require yubarajshrestha/html-dom-parser
```

#### Step 2: Implement HtmlDomParser

[](#step-2-implement-htmldomparser)

```
use YubarajShrestha\HtmlDomParser\Parser;

public function parse_tags()
{
    $html = '

            PHP
            Python

    ';

    $parsed = Parser::str_get_html($html);
}
```

**Credit**[PHP Simple HTML DOM Parser](https://simplehtmldom.sourceforge.io/)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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 ~0 days

Total

2

Last Release

1613d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4140257658433cc8eb3a1a36a13fdf25ae15b9716c682f1c69a5a3bfb13f0a4b?d=identicon)[meyubaraj](/maintainers/meyubaraj)

---

Top Contributors

[![yubarajshrestha](https://avatars.githubusercontent.com/u/7955362?v=4)](https://github.com/yubarajshrestha "yubarajshrestha (2 commits)")

---

Tags

laravelparserlibraryhtmldomwrapperSimple

### Embed Badge

![Health badge](/badges/yubarajshrestha-html-dom-parser/health.svg)

```
[![Health](https://phpackages.com/badges/yubarajshrestha-html-dom-parser/health.svg)](https://phpackages.com/packages/yubarajshrestha-html-dom-parser)
```

###  Alternatives

[paquettg/php-html-parser

An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.

2.4k7.9M121](/packages/paquettg-php-html-parser)[simplehtmldom/simplehtmldom

A fast, simple and reliable HTML document parser for PHP.

1921.3M14](/packages/simplehtmldom-simplehtmldom)[scotteh/php-dom-wrapper

Simple DOM wrapper to select nodes using either CSS or XPath expressions and manipulate results quickly and easily.

1471.9M10](/packages/scotteh-php-dom-wrapper)[oscarotero/html-parser

Parse html strings to DOMDocument

165.0M1](/packages/oscarotero-html-parser)

PHPackages © 2026

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