PHPackages                             dtkahl/php-html-tag-builder - 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. dtkahl/php-html-tag-builder

ActiveLibrary

dtkahl/php-html-tag-builder
===========================

1.3.1(9y ago)0226[2 issues](https://github.com/dtkahl/php-html-tag-builder/issues)1MITPHPPHP &gt;=5.6.0

Since Mar 4Pushed 9y agoCompare

[ Source](https://github.com/dtkahl/php-html-tag-builder)[ Packagist](https://packagist.org/packages/dtkahl/php-html-tag-builder)[ RSS](/packages/dtkahl-php-html-tag-builder/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (1)

[![Latest Stable Version](https://camo.githubusercontent.com/395dc44999448e8aa1d8753f60124ab4e74a3f61549be13f02f5daefb285a2b1/68747470733a2f2f706f7365722e707567782e6f72672f64746b61686c2f7068702d68746d6c2d7461672d6275696c6465722f762f737461626c65)](https://packagist.org/packages/dtkahl/php-html-tag-builder)[![License](https://camo.githubusercontent.com/bd57c6c62159999cc4efb6b9d195ac9946cdb409cd5ea13cbad38dbbc34f18a6/68747470733a2f2f706f7365722e707567782e6f72672f64746b61686c2f7068702d68746d6c2d7461672d6275696c6465722f6c6963656e7365)](https://packagist.org/packages/dtkahl/php-html-tag-builder)[![Build Status](https://camo.githubusercontent.com/41bc2ece7baf66ecd6e11f3c5a23c9c12dc689c0a9272d3d44a8134b1193e021/68747470733a2f2f7472617669732d63692e6f72672f64746b61686c2f7068702d68746d6c2d7461672d6275696c6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dtkahl/php-html-tag-builder)

PHP HTML tag builder
====================

[](#php-html-tag-builder)

HTML tag builder for PHP.

#### Dependencies

[](#dependencies)

- `PHP >= 5.6.0`

#### Installation

[](#installation)

Install with [Composer](http://getcomposer.org):

```
composer require dtkahl/php-html-tag-builder

```

### Usage

[](#usage)

```
new HtmlTagBuilder("div", ['class' => 'foo']);

```

### Methods

[](#methods)

*TBA*

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~27 days

Recently: every ~57 days

Total

10

Last Release

3473d ago

PHP version history (2 changes)1.0.1PHP &gt;=7.0.0

1.1.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c8f601e8ceab86287cd0d97b5a749fd51c9aea595f351333abf5e6e70930e95?d=identicon)[dtkahl](/maintainers/dtkahl)

---

Top Contributors

[![dantodev](https://avatars.githubusercontent.com/u/13280775?v=4)](https://github.com/dantodev "dantodev (24 commits)")

---

Tags

htmlhtml-tag-builderphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dtkahl-php-html-tag-builder/health.svg)

```
[![Health](https://phpackages.com/badges/dtkahl-php-html-tag-builder/health.svg)](https://phpackages.com/packages/dtkahl-php-html-tag-builder)
```

PHPackages © 2026

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