PHPackages                             hardw/html-simple-dom-parser-hotfix - 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. hardw/html-simple-dom-parser-hotfix

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

hardw/html-simple-dom-parser-hotfix
===================================

This is a hotfix version of Simple HTML DOM Parser by @hardway120308

05HTML

Since Mar 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hardway120308/simple-html-dom-parser-hotfix)[ Packagist](https://packagist.org/packages/hardw/html-simple-dom-parser-hotfix)[ RSS](/packages/hardw-html-simple-dom-parser-hotfix/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Simple HTML DOM Parser \[Hotfix version\]
=========================================

[](#simple-html-dom-parser-hotfix-version)

This is a hotfix version of Simple HTML DOM Parser by @hardway120308.

- Github URL：

Why you need it?
----------------

[](#why-you-need-it)

if you use composer to install "Simple HTML Dom Parser"(sunra/php-simple-html-dom),You may find that he cannot work.

If you can't run HTML Simple DOM Parser, this package is for you.

How it works?
-------------

[](#how-it-works)

This release fixes two errors:

- Regex cannot run on php7

> PHP error message like this: "invalid range in character class at offset 4"

- Cannot destruct simplehtmldom object

> PHP error message like this: "Maximum execution time of 30 seconds exceeded"

How to install?
---------------

[](#how-to-install)

This package can be installed on Composer.Here's how to do it:

### Using Composer

[](#using-composer)

First, you need to install Composer,please visit [this webpage](https://getcomposer.org/download/).

Then, execute the following instructions in the project directory:

`composer init`

`composer install simple-html-dom-parser-hotfix`

Now you are ready to use Simple HTML DOM Parser Hotfix Version.

How to use it?
--------------

[](#how-to-use-it)

Other usage is the same as the original version.

If you need to learn Simple HTML Dom Parser. Please go to the [original version docs](https://simplehtmldom.sourceforge.io/manual.htm))

This package was developed with version 1.5 of Simple HTML Dom Parser (latest version on Composer).

Error reporting
---------------

[](#error-reporting)

If you find some errors or bugs and you think it is a problem with HTML Simple DOM Parser, please add a issues to [Github](https://github.com/hardway120308/simple-html-dom-parser-hotfix).

or, you can contact me:

- email:
- telegram: [@hardway120308](https://t.me/hardway120308)

But please note: I am not an expert in answering all questions, the best place to answer PHP questions is on StackOverflow.

Thank you and enjoy!

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/13735ed0223ddc2cf3da438e6d76dd7481a84a626010970972c7654e38b58913?d=identicon)[hardway120308](/maintainers/hardway120308)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M344](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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