PHPackages                             forge/html - 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. forge/html

Abandoned → [php-forge/html](/?search=php-forge%2Fhtml)Library[Utility &amp; Helpers](/categories/utility)

forge/html
==========

Awesome HTML Code Generator for PHP.

0.2.0(2y ago)23.4k1[1 PRs](https://github.com/php-forge/html/pulls)PHPPHP ^8.1CI passing

Since Feb 23Pushed 2y ago2 watchersCompare

[ Source](https://github.com/php-forge/html)[ Packagist](https://packagist.org/packages/forge/html)[ RSS](/packages/forge-html/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (10)Versions (6)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/103309199?s%25253D400%252526u%25253Dca3561c692f53ed7eb290d3bb226a2828741606f%252526v%25253D4) ](https://github.com/php-forge/html) [ ![](https://raw.githubusercontent.com/php-forge/html/main/docs/image/logo.jpg) ](https://developer.mozilla.org/en-US/docs/Web/HTML)

Awesome HTML Code Generator for PHP.
====================================

[](#awesome-html-code-generator-for-php)

 [ ![PHPUnit](https://github.com/php-forge/html/actions/workflows/build.yml/badge.svg) ](https://github.com/php-forge/html/actions/workflows/build.yml) [ ![Codecov](https://camo.githubusercontent.com/6b7ca2c524c2dab88e7aaefe6248a835079b0f2d41e0efed135c4c3192365661/68747470733a2f2f636f6465636f762e696f2f67682f7068702d666f7267652f68746d6c2f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4d4630585547564c5943) ](https://codecov.io/gh/php-forge/html) [ ![Infection](https://camo.githubusercontent.com/04b58a315a398e2e1f406330b0ac6990284d0041995caa890f7ede1df4fa3b83/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532467068702d666f72676525324668746d6c2532466d61696e) ](https://dashboard.stryker-mutator.io/reports/github.com/php-forge/html/main) [ ![Psalm](https://github.com/php-forge/html/actions/workflows/static.yml/badge.svg) ](https://github.com/php-forge/html/actions/workflows/static.yml) [ ![Psalm Coverage](https://camo.githubusercontent.com/fa5d296ffb6eb00ae85a4313553051c2be15d4399f145fdbce57a911ab7de695/68747470733a2f2f73686570686572642e6465762f6769746875622f7068702d666f7267652f68746d6c2f636f7665726167652e737667) ](https://shepherd.dev/github/php-forge/html) [ ![StyleCI](https://camo.githubusercontent.com/782b60a8f3b0ccc9571b49acadf6d80f92f08f64e4516c1b8ed8f52e82e6e4d8/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3439353132323533392f736869656c643f6272616e63683d6d61696e) ](https://github.styleci.io/repos/495122539?branch=main)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
composer require --prefer-dist php-forge/html:"^0.1"
```

or add

```
"php-forge/html": "^0.1"
```

Usage
-----

[](#usage)

[Check the documentation docs](/docs/README.md) to learn about usage.

Testing
-------

[](#testing)

[Check the documentation testing](/docs/testing.md) to learn about testing.

Support versions
----------------

[](#support-versions)

[![PHP81](https://camo.githubusercontent.com/cfe9179013aaeb962182231f5cc56946d96d3c7356e64008b58bad1025cfb1e9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e312d373837434235)](https://www.php.net/releases/8.1/en.php)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Our social networks
-------------------

[](#our-social-networks)

[![Twitter](https://camo.githubusercontent.com/d077c362ac639792171af8bc002ee827816733dfc0925f70b557e6d151022226/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d666f6c6c6f772d3144413146323f6c6f676f3d74776974746572266c6f676f436f6c6f723d314441314632266c6162656c436f6c6f723d3535353535353f7374796c653d666c6174)](https://twitter.com/Terabytesoftw)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.7% 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 ~2 days

Total

3

Last Release

811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/524d2b46690f41fce7188d369488a35e7624e6c5a264d82aacd08548bfd156ab?d=identicon)[terabytesoftw](/maintainers/terabytesoftw)

---

Top Contributors

[![terabytesoftw](https://avatars.githubusercontent.com/u/42547589?v=4)](https://github.com/terabytesoftw "terabytesoftw (381 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

generatorhtmlphpphp-forgephphtmlawesomephp-forge

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StyleECS

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[christianklisch/slim-minify

Minify html output in slim framework

3831.9k1](/packages/christianklisch-slim-minify)[artem_c/emmet

emmet implementation for php

141.8k](/packages/artem-c-emmet)

PHPackages © 2026

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