PHPackages                             mysiar/html-in-php - 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. [Templating &amp; Views](/categories/templating)
4. /
5. mysiar/html-in-php

ActiveLibrary[Templating &amp; Views](/categories/templating)

mysiar/html-in-php
==================

PHP classes for HTML

0.6.0(5y ago)131[1 PRs](https://github.com/mysiar/html-in-php/pulls)MITPHPPHP &gt;=7.3CI failing

Since Jun 23Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (6)Used By (0)

Mysiar\\Html
============

[](#mysiarhtml)

PHP classes for HTML

[![master](https://github.com/mysiar/html-in-php/workflows/CI/badge.svg?branch=master)](https://github.com/mysiar/html-in-php/workflows/CI/badge.svg?branch=master) [![codecov](https://camo.githubusercontent.com/dd616256ec1acfd0471471621f870ff4f02c0973138b8d7733e4f90c558c1c0e/68747470733a2f2f636f6465636f762e696f2f67682f6d79736961722f68746d6c2d696e2d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/mysiar/html-in-php) [![Latest Stable Version](https://camo.githubusercontent.com/484ddbd3799384e8273a8c87478134bef020348f6dfeb800fca7de6b2d44d8c1/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f68746d6c2d696e2d7068702f76)](https:////packagist.org/packages/mysiar/html-in-php) [![Total Downloads](https://camo.githubusercontent.com/e8aa274a7f8f1e437276c3de7921d921b3e88e9312e75b5cbf8b25174e5801fe/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f68746d6c2d696e2d7068702f646f776e6c6f616473)](https://packagist.org/packages/mysiar/html-in-php) [![Latest Unstable Version](https://camo.githubusercontent.com/ac08c61b48bf50aa6e32956d9c83aa2091b0f5180d1971b9d80899f774f6ca81/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f68746d6c2d696e2d7068702f762f756e737461626c65)](https://packagist.org/packages/mysiar/html-in-php) [![License](https://camo.githubusercontent.com/40123cde80c39b5e58a6ea3053e84b4adfa1d49804a062ea45b61fb8efe3ce13/68747470733a2f2f706f7365722e707567782e6f72672f6d79736961722f68746d6c2d696e2d7068702f6c6963656e7365)](https://packagist.org/packages/mysiar/html-in-php) [![FOSSA Status](https://camo.githubusercontent.com/f36e479237411279b2305e12c99d749f90c14be68d3235d432a7d8c7672203ff/68747470733a2f2f6170702e666f7373612e636f6d2f6170692f70726f6a656374732f6769742532426769746875622e636f6d2532466d797369617225324668746d6c2d696e2d7068702e7376673f747970653d736869656c64)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmysiar%2Fhtml-in-php?ref=badge_shield)

Install
-------

[](#install)

```
    composer require mysiar/html-in-php

```

Tags implemented
----------------

[](#tags-implemented)

- ``
- ``
- ``
- ``
- ``
    - ``
    - ``
    - ``
    - ``
    - ``
    - ``

Example
-------

[](#example)

[![Example.png](examples/Example.png)](examples/Example.png)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Every ~1 days

Total

3

Last Release

2152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e107304915ccb32da1e7cdda1a3042e513201a7bd53fcafd56ff662500c6c12?d=identicon)[mysiar](/maintainers/mysiar)

---

Top Contributors

[![mysiar](https://avatars.githubusercontent.com/u/13708162?v=4)](https://github.com/mysiar "mysiar (15 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mysiar-html-in-php/health.svg)

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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