PHPackages                             royalmar/simple-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. royalmar/simple-html-dom-parser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

royalmar/simple-html-dom-parser
===============================

modify SimpleHtmlDom for laravel

1.0.2(9y ago)315.9k↑26.7%1[1 issues](https://github.com/ZiJie-Li/HtmlDomParser/issues)PHPPHP &gt;=5.3.3

Since Jan 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ZiJie-Li/HtmlDomParser)[ Packagist](https://packagist.org/packages/royalmar/simple-html-dom-parser)[ RSS](/packages/royalmar-simple-html-dom-parser/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

SimpleHtmlDomParser
===================

[](#simplehtmldomparser)

Add library Simple html dom to Laravel More document:

\##How to install

```
composer require royalmar/simple-html-dom-parser

```

\##Laravel Setup Add the service provider to config/app.php:

```
'providers' => array(
    ...
    'Royalmar\HtmlDomParser\HtmlDomParserServiceProvider',

    //Laravel 5.1+
    Royalmar\HtmlDomParser\HtmlDomParserServiceProvider::class,
    ...

```

Add alias to config/app.php:

```
'aliases' => array(
    ...
    'HtmlDomParser' => 'Royalmar\HtmlDomParser\HtmlDomParser',

    //Laravel 5.1+
    'HtmlDomParser' => Royalmar\HtmlDomParser\HtmlDomParser::class,
    ...

```

\##Usage

```
$parser = new \HtmlDomParser();
// get html dom from file
$html = $parser->fileGetHtml('http://www.google.com');
// get html dom from string
$html = $parser->strGetHtml('Hello World');

//OR

// get html dom from file
$html = \HtmlDomParser::fileGetHtml('http://www.google.com');
// get html dom from string
$html = \HtmlDomParser::strGetHtml('Hello World');
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3346d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/187732577?v=4)[royalmar](/maintainers/royalmar)[@RoyalMar](https://github.com/RoyalMar)

---

Top Contributors

[![ZiJie-Li](https://avatars.githubusercontent.com/u/8016381?v=4)](https://github.com/ZiJie-Li "ZiJie-Li (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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