PHPackages                             pear/html\_template\_phplib - 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. pear/html\_template\_phplib

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

pear/html\_template\_phplib
===========================

preg\_\* based template system.

v1.6.1(6y ago)317.8k↓26.7%1LGPL-2.1-or-laterPHP

Since Jan 23Pushed 6y ago10 watchersCompare

[ Source](https://github.com/pear/HTML_Template_PHPLIB)[ Packagist](https://packagist.org/packages/pear/html_template_phplib)[ Docs](http://pear.php.net/package/HTML_Template_PHPLIB)[ RSS](/packages/pear-html-template-phplib/feed)WikiDiscussions master Synced 1mo ago

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

HTML\_Template\_PHPLIB
======================

[](#html_template_phplib)

`preg_*` based template system.

The popular Template system from PHPLIB ported to PEAR. It has some features that can't be found currently in the original version like fallback paths. It has minor improvements and cleanup in the code as well as some speed improvements.

Installation
------------

[](#installation)

### PEAR

[](#pear)

```
$ pear install html_template_phplib
```

### Composer

[](#composer)

```
$ composer require pear/html_template_phplib
```

Links
-----

[](#links)

Homepage[http://pear.php.net/package/HTML\_Template\_PHPLIB](http://pear.php.net/package/HTML_Template_PHPLIB)DocumentationBug tracker[http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=HTML\_Template\_PHPLIB](http://pear.php.net/bugs/search.php?cmd=display&package_name[]=HTML_Template_PHPLIB)Unit test status[https://travis-ci.org/pear/HTML\_Template\_PHPLIB](https://travis-ci.org/pear/HTML_Template_PHPLIB)

[![https://travis-ci.org/pear/HTML_Template_PHPLIB.svg?branch=master](https://camo.githubusercontent.com/2cfa6f024fb8cb6a3a3d70b5480ebdcaee249483e726c7c1014e997796fd1339/68747470733a2f2f7472617669732d63692e6f72672f706561722f48544d4c5f54656d706c6174655f5048504c49422e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pear/HTML_Template_PHPLIB)Packagist[https://packagist.org/packages/pear/html\_template\_phplib](https://packagist.org/packages/pear/html_template_phplib)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 76.6% 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 ~1416 days

Total

2

Last Release

2352d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

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

---

Top Contributors

[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (49 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (5 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (3 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")[![matteotrubini](https://avatars.githubusercontent.com/u/7964032?v=4)](https://github.com/matteotrubini "matteotrubini (1 commits)")[![madolo](https://avatars.githubusercontent.com/u/43156955?v=4)](https://github.com/madolo "madolo (1 commits)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (1 commits)")[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (1 commits)")

---

Tags

phptemplate-engine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pear-html-template-phplib/health.svg)

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

###  Alternatives

[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)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

555.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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