php-kit/html5-tools

A collection of libraries for working with HTML5 markup

1.0.0 2016-04-09 12:38 UTC

This package is auto-updated.

Last update: 2024-12-06 15:00:26 UTC


README

A collection of libraries for working with HTML5 markup

Available Libraries

An HTML5 stream parser

An high performance and ultra-lightweight streaming and event-driven parser for HTML5 documents or document fragments.

An HTML5 syntax highlighter

A minimalistic and ultra-lightweight syntax highlighter for outputting readable HTML5 documents or document fragments.

It supports markup fragments beginning and ending anywhere, even midway trough a tag or attribute.

Roadmap

Libraries that are planned for development

An HTML5 (re)formatter

A high performance streaming formatter of HTML5 markup.

It outputs reformatted markup while reading and parsing an input HTML5 document or fragment, with no intermediate DOM and with very low memory usage.

Instalation

Requirements

  • PHP version >= 5.6

Installation

Install via Composer:

composer require php-kit/html5-tools

License

The MIT license. See the accompanying LICENSE file.

Copyright © 2016 Cláudio Silva and Impactwave, Lda.