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

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

checkk/html-builder
===================

Easy way to build html elements

04PHP

Since Feb 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/antonzaitsev/html-builder)[ Packagist](https://packagist.org/packages/checkk/html-builder)[ RSS](/packages/checkk-html-builder/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

General information
===================

[](#general-information)

- PHP 7.0 or above

### Installation

[](#installation)

To use this lib

```
composer require checkk/html-builder

```

### Usage

[](#usage)

- Create empty form

```
$form = new Form('action.php');
```

- Add name or id attribute to form

```
$form->addAttribute('name', 'my_best_form');
$form->addAttribute('id', 'form_id');
```

- Add inputs to form

```
$form->addInput('text', 'login');
$form->addHiddenInput('csrf', 'qrqrqwreqaf');
$form->addSubmitInput('Push me');
```

- Add script after form.

```
$form->addScript("window.onload = function () {document.forms[0].submit();}");
```

- Good for payment form submitting

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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://www.gravatar.com/avatar/f74186544ad18e0a3a66d063c11348cf27c164ed5e04305bb6c679a54cdf320c?d=identicon)[CheckK](/maintainers/CheckK)

---

Top Contributors

[![antonzaitsev](https://avatars.githubusercontent.com/u/15883330?v=4)](https://github.com/antonzaitsev "antonzaitsev (2 commits)")

### Embed Badge

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

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

###  Alternatives

[insolita/yii2-iconpicker

Widget for bootstrap-iconpicker plugin http://victor-valencia.github.io/bootstrap-iconpicker/

1110.6k1](/packages/insolita-yii2-iconpicker)

PHPackages © 2026

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