PHPackages                             electrolinux/php-html5lib - 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. electrolinux/php-html5lib

ActiveLibrary

electrolinux/php-html5lib
=========================

A PHP implementations of a HTML parser based on the WHATWG HTML5 specification.

0.1.0(13y ago)5198.4k↓33.3%11MITPHPPHP &gt;=5.3.2

Since Mar 18Pushed 13y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (1)

HTML5Lib - PHP flavour
======================

[](#html5lib---php-flavour)

This is an implementation of the tokenization and tree-building parts of the HTML5 specification in PHP. Potential uses of this library can be found in web-scrapers and HTML filters.

Warning: This is a pre-alpha release, and as such, certain parts of this code are not up-to-snuff (e.g. error reporting and performance). However, the code is very close to spec and passes 100% of tests not related to parse errors. Nevertheless, expect to have to update your code on the next upgrade.

Usage notes
-----------

[](#usage-notes)

```
