PHPackages                             elnebuloso/flex-code-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. elnebuloso/flex-code-html

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

elnebuloso/flex-code-html
=========================

html code generator

1.1.0(10y ago)12421MITPHPPHP &gt;=5.4.0

Since Jul 9Pushed 5y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (6)Used By (1)

flex-code-html
==============

[](#flex-code-html)

[![abandoned](https://camo.githubusercontent.com/8647476f20aab6e511c7963e8fcdf568402036fcdb17e0b54b25bccf3b20381e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f6a6563742d6162616e646f6e65642d726564)](https://camo.githubusercontent.com/8647476f20aab6e511c7963e8fcdf568402036fcdb17e0b54b25bccf3b20381e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f6a6563742d6162616e646f6e65642d726564)

Description
-----------

[](#description)

The Goal of this Package is to create a simple and MVC independent HTML Code Renderer.

Requirements
------------

[](#requirements)

The following versions of PHP are supported by this version.

- PHP 5.4
- PHP 5.5
- PHP 5.6
- PHP 7.0
- HHVM

Coding Standards
----------------

[](#coding-standards)

Flex follows the standards defined in the PSR-0, PSR-1, PSR-2 and PSR-4 documents.

Installation / Usage
--------------------

[](#installation--usage)

Via Composer

```
{
    "require": {
        "elnebuloso/flex-code-html": "~1.0"
    }
}
```

Examples
--------

[](#examples)

- each tag has a render method which returns the html code
- each tag has the magic "\_\_toString" method which renders the html code over the render method
- the setter methods on the tag object are chainable
- you can define the doctype in which the tag should render
- the doctype e.g. decides how to close the tag (self-closing tag, void / non-void tags)
- each tag can have children of TagInterface or String which will be rendered as the tag body (only if tag is not marked as non-void tag)

#### see public/examples.php for more examples

[](#see-publicexamplesphp-for-more-examples)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

3828d ago

Major Versions

0.0.2 → 1.0.02015-09-23

PHP version history (2 changes)0.0.1PHP &gt;=5.3.0

0.0.2PHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1664114?v=4)[Jeff Tunessen](/maintainers/elnebuloso)[@elnebuloso](https://github.com/elnebuloso)

---

Top Contributors

[![elnebuloso](https://avatars.githubusercontent.com/u/1664114?v=4)](https://github.com/elnebuloso "elnebuloso (34 commits)")

---

Tags

html-tagsphpphpgeneratorhtml

### Embed Badge

![Health badge](/badges/elnebuloso-flex-code-html/health.svg)

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

###  Alternatives

[okipa/laravel-table

Generate tables from Eloquent models.

56752.8k](/packages/okipa-laravel-table)[airmanbzh/php-html-generator

PHP html generator

7973.8k5](/packages/airmanbzh-php-html-generator)[okipa/laravel-form-components

Ready-to-use and customizable form components.

198.0k1](/packages/okipa-laravel-form-components)[tomloprod/radiance

A deterministic mesh gradient avatar generator for PHP.

1393.7k](/packages/tomloprod-radiance)[shish/microhtml

A minimal HTML generating library

1142.1k2](/packages/shish-microhtml)

PHPackages © 2026

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