PHPackages                             cinghie/yii2-simplehtmldom - 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. cinghie/yii2-simplehtmldom

ActiveYii2-extension

cinghie/yii2-simplehtmldom
==========================

Yii2 Simple HTML Dom

1.0.0(5y ago)01.1k↓100%BSD-3-ClausePHP

Since Jun 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cinghie/yii2-simplehtmldom)[ Packagist](https://packagist.org/packages/cinghie/yii2-simplehtmldom)[ Docs](https://github.com/cinghie/yii2-simplehtmldom)[ RSS](/packages/cinghie-yii2-simplehtmldom/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Yii2 Simple HTML Dom
====================

[](#yii2-simple-html-dom)

[![License](https://camo.githubusercontent.com/7d81f5c8e4f65f3e26308d8e04e5268d5b9c25a0169d804ca4b5fb9978840f53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)](https://camo.githubusercontent.com/7d81f5c8e4f65f3e26308d8e04e5268d5b9c25a0169d804ca4b5fb9978840f53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)[![Latest Stable Version](https://camo.githubusercontent.com/cd9ec632333ee9c1de46ea69dfc37cd8be96b5cc375d7a49581848a205647237/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)](https://camo.githubusercontent.com/cd9ec632333ee9c1de46ea69dfc37cd8be96b5cc375d7a49581848a205647237/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)[![Latest Release Date](https://camo.githubusercontent.com/502839068038855e8d3559556d2b9da834a192908ce224f2b6886aa7eb85c95d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)](https://camo.githubusercontent.com/502839068038855e8d3559556d2b9da834a192908ce224f2b6886aa7eb85c95d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)[![Latest Commit](https://camo.githubusercontent.com/5d33e4e7efeb729d8b86c95c0d975c9ef8cb3a03b23be4b1f0c78fe13211e106/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)](https://camo.githubusercontent.com/5d33e4e7efeb729d8b86c95c0d975c9ef8cb3a03b23be4b1f0c78fe13211e106/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)[![Total Downloads](https://camo.githubusercontent.com/2e0a730d181719f66852fe32f04dc6c72ef441679f17e2ce8f637cdc94a780ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63696e676869652f796969322d73696d706c6568746d6c646f6d2e737667)](https://packagist.org/packages/cinghie/yii2-simplehtmldom)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require cinghie/yii2-simplehtmldom "@dev"

```

or add

```
"cinghie/yii2-simplehtmldom": "@dev"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

```
use cinghie\simplehtmldom\SimpleHtmlDom;

SimpleHtmlDom::file_get_html('http://www.google.com');
SimpleHtmlDom::str_get_html($string);

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2149d ago

### Community

Maintainers

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

---

Top Contributors

[![cinghie](https://avatars.githubusercontent.com/u/2445152?v=4)](https://github.com/cinghie "cinghie (8 commits)")

---

Tags

simple\_html\_domhtml domparse htmlyii2 parse html

### Embed Badge

![Health badge](/badges/cinghie-yii2-simplehtmldom/health.svg)

```
[![Health](https://phpackages.com/badges/cinghie-yii2-simplehtmldom/health.svg)](https://phpackages.com/packages/cinghie-yii2-simplehtmldom)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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