PHPackages                             jleagle/helpers - 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. jleagle/helpers

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

jleagle/helpers
===============

A package to create clean HTML

0.0.1(11y ago)65111PHPPHP &gt;=5.4

Since Mar 7Pushed 10y agoCompare

[ Source](https://github.com/Jleagle/helpers)[ Packagist](https://packagist.org/packages/jleagle/helpers)[ RSS](/packages/jleagle-helpers/feed)WikiDiscussions master Synced 2mo ago

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

html-builder
============

[](#html-builder)

A package to create clean HTML

### Usage

[](#usage)

Create elements using their class:

```
$div = new Div();
$image = new Img('http://example.com/img.png);
```

Each class has different constructor parameters to help you create the element:

```
$abbr = new Abbr('WIFI', 'Wireless Fidelity');
```

Which returns `WIFI`

And helper methods to do common tasks:

```
$ul = new Ul();
foreach([1, 2, 3] as $v)
{
  $li = new Li('item '.$v);
  $ul->addListItem($li);
}
```

Which will echo

```

  item 1
  item 2
  item 3

```

### Credits

[](#credits)

Tag structure taken from \[[![/u/brianjenkins94](https://camo.githubusercontent.com/7d7d044272bee0fc58b6b9972d47e4697a5b9eb810ed5d89bf82972f6bef0b8b/68747470733a2f2f7777772e7265646469742e636f6d2f722f7765626465762f636f6d6d656e74732f33796c3979632f695f637265617465645f616e5f68746d6c355f6d696e646d61705f776f756c645f616e796f6e655f6d696e642f)](https://camo.githubusercontent.com/7d7d044272bee0fc58b6b9972d47e4697a5b9eb810ed5d89bf82972f6bef0b8b/68747470733a2f2f7777772e7265646469742e636f6d2f722f7765626465762f636f6d6d656e74732f33796c3979632f695f637265617465645f616e5f68746d6c355f6d696e646d61705f776f756c645f616e796f6e655f6d696e642f)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.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

Unknown

Total

1

Last Release

4086d ago

### Community

Maintainers

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

---

Top Contributors

[![Jleagle](https://avatars.githubusercontent.com/u/381099?v=4)](https://github.com/Jleagle "Jleagle (29 commits)")[![bajb](https://avatars.githubusercontent.com/u/2241334?v=4)](https://github.com/bajb "bajb (1 commits)")

---

Tags

helperhtmldombuilder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jleagle-helpers/health.svg)

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

###  Alternatives

[wa72/htmlpagedom

jQuery-inspired DOM manipulation extension for Symfony's Crawler

3383.9M34](/packages/wa72-htmlpagedom)[aura/html

Provides HTML escapers and helpers, including form input helpers.

52270.5k21](/packages/aura-html)[avplab/php-html-builder

PHP Html builder simplifies creation of an html code in php scripts. Allows to build (or generate) the html in simple natural way, similarly as create a html page.

189.2k](/packages/avplab-php-html-builder)

PHPackages © 2026

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