yohang/htmltools

Some helpers to work with HTML

0.1.3 2018-08-30 08:48 UTC

This package is auto-updated.

Last update: 2020-09-21 11:16:40 UTC


README

Some use(ful|less) tools for manipulation of HTML.

HtmlTools\Helpers::addHeadingsId($html, $headingSelector = 'h1, h2, h3, h4, h5, h6')

This methods is useful to automatically add ids to headings and use them as anchor.