PHPackages                             jamesthe1/mini-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. jamesthe1/mini-html-builder

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

jamesthe1/mini-html-builder
===========================

A miniature HTML builder.

00PHPCI failing

Since May 18Pushed 2mo agoCompare

[ Source](https://github.com/Jamesthe1/html-builder)[ Packagist](https://packagist.org/packages/jamesthe1/mini-html-builder)[ RSS](/packages/jamesthe1-mini-html-builder/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

HTML Builder
============

[](#html-builder)

This composer package creates a simple HTML builder for PHP.

API
===

[](#api)

The API can be found in the single `builder.php` file, as it contains detailed doc comments in the form of DocBlocks.

Example
=======

[](#example)

```
$htmlroot = html_quick_setup("My website", "./favicon.ico", "./style.css");
$body = $htmlroot->get_child_by_tag("body"); // All objects are passed by reference.
$body->add_child(new html_element("p", "Hello world!", $attributes = [
    'class' = 'main-text',
    'id' = 'first-text'
]));

html_print($htmlroot);
```

###  Health Score

18

—

LowBetter than 7% of packages

Maintenance57

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/21296549?v=4)[James](/maintainers/jamesthe1)[@Jamesthe1](https://github.com/Jamesthe1)

---

Top Contributors

[![Jamesthe1](https://avatars.githubusercontent.com/u/21296549?v=4)](https://github.com/Jamesthe1 "Jamesthe1 (10 commits)")

### Embed Badge

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

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

###  Alternatives

[fluidtypo3/flux

The flux package from FluidTYPO3

1501.0M25](/packages/fluidtypo3-flux)

PHPackages © 2026

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