PHPackages                             yohang/htmltools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yohang/htmltools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yohang/htmltools
================

Some helpers to work with HTML

0.1.3(7y ago)55.6k↓64.7%11MITPHPPHP ^5.3.3 || ^7.0

Since Aug 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yohang/HtmlTools)[ Packagist](https://packagist.org/packages/yohang/htmltools)[ RSS](/packages/yohang-htmltools/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (1)

HtmlTools
=========

[](#htmltools)

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.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.1% 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.

###  Release Activity

Cadence

Every ~610 days

Total

4

Last Release

2864d ago

PHP version history (2 changes)0.1.0PHP &gt;5.3.3

0.1.1PHP ^5.3.3 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/cebd97d261d234cc9e88fb337c8b54a36f0ef20862894be210ecc4ee43e917ac?d=identicon)[yohang](/maintainers/yohang)

---

Top Contributors

[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (11 commits)")[![yohang](https://avatars.githubusercontent.com/u/608984?v=4)](https://github.com/yohang "yohang (7 commits)")

### Embed Badge

![Health badge](/badges/yohang-htmltools/health.svg)

```
[![Health](https://phpackages.com/badges/yohang-htmltools/health.svg)](https://phpackages.com/packages/yohang-htmltools)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[spatie/laravel-pjax

A pjax middleware for Laravel 5

523386.8k11](/packages/spatie-laravel-pjax)[dominikb/composer-license-checker

Utility to check for licenses of dependencies and block/allow them.

574.6M14](/packages/dominikb-composer-license-checker)[crwlr/crawler

Web crawling and scraping library.

36917.4k2](/packages/crwlr-crawler)[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20121.3k](/packages/visuellverstehen-statamic-classify)

PHPackages © 2026

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