PHPackages                             znk3r/html\_common - 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. znk3r/html\_common

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

znk3r/html\_common
==================

PHP 7 compatible fork of HTML\_Common

v2.0.1(7y ago)0132PHP LicensePHPPHP ^7.0.0

Since Mar 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/znk3r/HTML_Common)[ Packagist](https://packagist.org/packages/znk3r/html_common)[ Docs](https://github.com/znk3r/HTML_Common)[ RSS](/packages/znk3r-html-common/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

HTML\_Common
============

[](#html_common)

The HTML\_Common package provides methods for html code display and attributes handling.

- Methods to set, remove, update html attributes.
- Handles comments in HTML code.
- Handles layout, tabs, line endings for nicer HTML code.

This package is based in the [original PEAR library](http://pear.php.net/package/HTML_Common), but the code has been updated to be compatible with newer versions of PHP.

The intention of this project is not to work as a modern alternative, but to provide support for legacy projects still using this library. Please, consider migrating to newer alternatives if possible.

Updates
-------

[](#updates)

- Compatible with PHP 7 and newer versions.
- Use of composer autoloader to replace includes.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~13 days

Total

3

Last Release

2595d ago

PHP version history (2 changes)v2.0.0PHP ^7.0.0

v1.3.0PHP ^5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/92b6cc9177b43d96e6457633f285cad6dd3b6fd818a0670ca932f4ab773bd006?d=identicon)[znk3r](/maintainers/znk3r)

---

Top Contributors

[![golgote](https://avatars.githubusercontent.com/u/12360?v=4)](https://github.com/golgote "golgote (11 commits)")[![sad-spirit](https://avatars.githubusercontent.com/u/4820288?v=4)](https://github.com/sad-spirit "sad-spirit (5 commits)")[![znk3r](https://avatars.githubusercontent.com/u/4445684?v=4)](https://github.com/znk3r "znk3r (3 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (2 commits)")[![macintoshplus](https://avatars.githubusercontent.com/u/814683?v=4)](https://github.com/macintoshplus "macintoshplus (1 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (1 commits)")

---

Tags

htmlpearphpphp-libraryphp7htmlPHP7PEAR

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/znk3r-html-common/health.svg)

```
[![Health](https://phpackages.com/badges/znk3r-html-common/health.svg)](https://phpackages.com/packages/znk3r-html-common)
```

###  Alternatives

[spatie/laravel-html

A fluent html builder

8376.4M72](/packages/spatie-laravel-html)[ckeditor/ckeditor

JavaScript WYSIWYG web text editor.

5234.2M76](/packages/ckeditor-ckeditor)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

2899.6M48](/packages/yajra-laravel-datatables-html)[wa72/htmlpagedom

jQuery-inspired DOM manipulation extension for Symfony's Crawler

3383.9M34](/packages/wa72-htmlpagedom)[tinymce/tinymce

Web based JavaScript HTML WYSIWYG editor control.

1697.5M106](/packages/tinymce-tinymce)

PHPackages © 2026

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