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

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

dushica/html
============

Simple HTML builder for PHP

0.3(10y ago)123PHPPHP &gt;=5.4.0

Since Jul 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/AdriatikDushica/HTML)[ Packagist](https://packagist.org/packages/dushica/html)[ RSS](/packages/dushica-html/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Simple HTML Builder for PHP
===========================

[](#simple-html-builder-for-php)

```
$builder = new Dushica\Html\Builder;

// By default are 'input' and 'br'
$builder->setNoClose(['input', 'br', 'hr']);

//Add one more tag that not must be closed
$builder->addNoClose('link');

//Format html code, by default is true
$builder->minify = false;

$builder
    ->html()

        ->body()

            ->text('Insert your Firstname: ')

            ->br()

            ->input(['placeholder'=>'Firstname'])

            ->hr()

            ->text('Insert your Lastname: ')

            ->br()

            ->input(['placeholder'=>'Lastname'])

        ->end()

    ->end();

echo $builder;

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

4

Last Release

3949d ago

### Community

Maintainers

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

### Embed Badge

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

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

PHPackages © 2026

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