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

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

thijzer/html-builder
====================

Simple PHP Html component builder

1.0.1(6y ago)045MITPHPPHP &gt;=7.0.0CI failing

Since May 10Pushed 6y agoCompare

[ Source](https://github.com/Thijzer/HtmlBuilder)[ Packagist](https://packagist.org/packages/thijzer/html-builder)[ RSS](/packages/thijzer-html-builder/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

HtmlBuilder
===========

[](#htmlbuilder)

### Goals

[](#goals)

This Repo is meant to making dynamic html elements easier. Most of the known component should be available as a set.

Making it possible to build menu, datagrid, table component as objects in PHP. And pass them as to you template engine.

Example
=======

[](#example)

```
$table = new \HtmlBuilder\Table();
$table->setData($dataSet);
$table
    ->add('#', 'rowcount')
    ->add('title')
    ->add('status_code')
    ->add('h1_count')
    ->add('frequency')
    ->add('links_text', 'arrayCount')
    ->add('visited', 'boolean')
    ->add('absolute_url', 'link')
;
```

```
$table->render()
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

2492d ago

Major Versions

0.1.1 → 1.0.12019-07-20

### Community

Maintainers

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

---

Top Contributors

[![Thijzer](https://avatars.githubusercontent.com/u/3798321?v=4)](https://github.com/Thijzer "Thijzer (26 commits)")

---

Tags

phphtml-builder

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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