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

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

devbr/html
==========

Html Template Engine

0.2.2(8y ago)03151MITPHPPHP &gt;=5.6

Since Dec 17Pushed 8y ago2 watchersCompare

[ Source](https://github.com/devbr/html)[ Packagist](https://packagist.org/packages/devbr/html)[ Docs](http://dbrasil.tk/devbr/)[ RSS](/packages/devbr-html/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (12)Used By (1)

Html engine (PHP)
=================

[](#html-engine-php)

[![Latest Stable Version](https://camo.githubusercontent.com/1e5d22e4bfb22893a32110ef65cc9ac41fa33be29fa776a759956562b682f47f/68747470733a2f2f706f7365722e707567782e6f72672f64657662722f776562736974652f762f737461626c65)](https://packagist.org/packages/devbr/html)[![Latest Unstable Version](https://camo.githubusercontent.com/c1ea2d3a39de3feb17a070b54745025441d3b680b0039d83281af05b7a213fc4/68747470733a2f2f706f7365722e707567782e6f72672f64657662722f776562736974652f762f756e737461626c65)](https://packagist.org/packages/devbr/html)[![License](https://camo.githubusercontent.com/72f63716465dab46c41a9583c0c844af106fe24f7e28587a5c00b24b9f227af1/68747470733a2f2f706f7365722e707567782e6f72672f64657662722f776562736974652f6c6963656e7365)](https://packagist.org/packages/devbr/html)[![Total Downloads](https://camo.githubusercontent.com/bb29464084800a67b7fb3187fe628f34c144ec08634e5e025ce9e32a7a1bd513/68747470733a2f2f706f7365722e707567782e6f72672f64657662722f776562736974652f646f776e6c6f616473)](https://packagist.org/packages/devbr/html)[![Monthly Downloads](https://camo.githubusercontent.com/517e6b24b9280f934b31b4b58008fa03df9430f3af32ee28069ed4e1154a17dd/68747470733a2f2f706f7365722e707567782e6f72672f64657662722f776562736974652f642f6d6f6e74686c79)](https://packagist.org/packages/devbr/html)

Gerador e gerenciador de HTML para projetos web em PHP.

- ©NeoTags para adicionar funcionalidades extras ao HTML;
- Minificador, obfuscador e unificador para asrquivos Javascript e CSS;
- Compactação da requisição de dados (GZip);
- Cache dinâmico para HTML, CSS e Javascript;

Instalação
----------

[](#instalação)

```
Composer require devbr/html

```

Uso
---

[](#uso)

```
$html = new Devbr\Html;
$html->render('index')->send();

```

O argumento 'index', em "render" refere-se a um arquivo HTML localizado no diretório de templates de HTML (configurável). Não é necessário indicar a extensão (.html).

Esse código produz uma saída HTML, depois de "renderizar" o template indicado.

©NeoTags podem ser usadas no arquivo de template para adicionar funcionalidades dinâmicas do PHP.

Veja alguns exemplos:

```

```

Isso gera o seguinte código (dependendo do que for programado no PHP):

```

  Home
  Documents
    ... etc

```

Módulos (objetos PHP) podem ser criados para adicionar funções autônomas ao seu template.

```

```

Gera o código HTML (CSS &amp; Javascript) necessário para mostrar o conteúdo de um blog, por exemplo:

```

  ... conteúdo do artigo do blog ...

```

Muitas outras facilidades podem ser programadas para utilização com as ©NeosTags - ajude a desenvolver!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.7% 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 ~40 days

Recently: every ~51 days

Total

11

Last Release

3031d ago

PHP version history (3 changes)0.0.1PHP &gt;=7.0.0

0.0.3PHP &gt;=5.6.28

0.2.1PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/1afbdaef1e7a22a196a765229a8664640c368682e8af063815df3813ccfa3df7?d=identicon)[pedra](/maintainers/pedra)

---

Top Contributors

[![pedra](https://avatars.githubusercontent.com/u/4870358?v=4)](https://github.com/pedra "pedra (43 commits)")[![supremacia](https://avatars.githubusercontent.com/u/16003817?v=4)](https://github.com/supremacia "supremacia (16 commits)")[![zuw](https://avatars.githubusercontent.com/u/6869530?v=4)](https://github.com/zuw "zuw (1 commits)")

---

Tags

htmltemplateneostag

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpword

PHPWord - A pure PHP library for reading and writing word processing documents (OOXML, ODF, RTF, HTML, PDF)

7.5k34.7M183](/packages/phpoffice-phpword)[latte/latte

☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites. Introduces context-sensitive escaping.

1.3k15.7M680](/packages/latte-latte)[phug/phug

Pug (ex-Jade) facade engine for PHP, HTML template engine structured by indentation

67292.2k12](/packages/phug-phug)[sitegeist/fluid-components

Encapsulated frontend components with Fluid's ViewHelper syntax

55339.1k3](/packages/sitegeist-fluid-components)[sitegeist/fluid-styleguide

Living styleguide for Fluid Components

16227.4k1](/packages/sitegeist-fluid-styleguide)[talesoft/tale-pug

A clean, lightweight and easy-to-use templating engine for PHP based on Pug, formerly Jade

319.4k3](/packages/talesoft-tale-pug)

PHPackages © 2026

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