Skip to content
Ilhan Yumer edited this page May 16, 2022 · 4 revisions

The html5 parser/serializer is PSR-0 compliant and should work with any PSR-0 autoloader.

Composer

The recommended installation approach is through composer. To install, add masterminds/html5 to your composer.json file:

{
  "require" : {
    "masterminds/html5": "dev-master"
  }
}

(You may substitute dev-master for a more stable release tag, of course.)

From there, use the composer install or composer update commands to install.

Download

If you need a package download for your own autoloader you can get it from the release listing.

Autoloading

If you load the library in a manner other other composer you'll need to use a PSR-0 compliant autoloader. Some autoloaders to consider using include:

You can visit a list of additional loaders.