PHPackages                             wwtg99/html\_component - 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. wwtg99/html\_component

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

wwtg99/html\_component
======================

0.1.0(10y ago)027MITPHPPHP &gt;=5.6

Since Mar 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/wwtg99/html_component)[ Packagist](https://packagist.org/packages/wwtg99/html_component)[ Docs](https://github.com/wwtg99/html_component)[ RSS](/packages/wwtg99-html-component/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

HTML Component
==============

[](#html-component)

A small library to generate html components quickly with PHP.
-------------------------------------------------------------

[](#a-small-library-to-generate-html-components-quickly-with-php)

### Supported components

[](#supported-components)

- AlertView
- ListView
- StepView

#### AlertView

[](#alertview)

Show alert message. Based on Bootstrap

```
$alert = new AlertView('info'); //level: success, info, warning, danger
echo $alert->view(['message'=>'alert']);

```

#### ListView

[](#listview)

Show key value list in columns.

```
$list = new ListView(2);
echo $list->view(['data'=>['field1'=>'value1', 'field2'=>'value2', 'field3'=>'value3']]);

```

#### StepView

[](#stepview)

Show steps.

```
$step = new StepView([['title'=>'step 1', 'descr'=>'one'], ['title'=>'step 2', 'descr'=>'two']]);
echo $step->view();

```

### Custom styles

[](#custom-styles)

All components can change styles and css classes by `setStyles($styles)` and `setCssClass($css)`.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3746d ago

### Community

Maintainers

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

---

Top Contributors

[![wwtg99](https://avatars.githubusercontent.com/u/3531639?v=4)](https://github.com/wwtg99 "wwtg99 (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[vespakoen/menu

Managing menus the easy way.

27187.0k5](/packages/vespakoen-menu)[germey/geetest

Geetest Package for Laravel5

15682.6k2](/packages/germey-geetest)[webarchitect609/bitrix-user-type

Set of custom Bitrix user property types and basic auxiliary functionality to help develop new types as easy and fast as it possible.

1318.7k1](/packages/webarchitect609-bitrix-user-type)

PHPackages © 2026

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