PHPackages                             sebastianbergmann/php-text-template - 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. sebastianbergmann/php-text-template

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

sebastianbergmann/php-text-template
===================================

Text\_Template: Simple template engine

1.1.1(13y ago)223.7k↓10.1%5The BSD 3-Clause LicensePHPPHP &gt;=5.2.7

Since Aug 1Pushed 13y agoCompare

[ Source](https://github.com/MarcelloDuarte/php-text-template)[ Packagist](https://packagist.org/packages/sebastianbergmann/php-text-template)[ Docs](https://github.com/sebastianbergmann/php-text-template)[ RSS](/packages/sebastianbergmann-php-text-template/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (5)

Text\_Template
==============

[](#text_template)

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

[](#installation)

Text\_Template should be installed using the [PEAR Installer](http://pear.php.net/). This installer is the backbone of PEAR, which provides a distribution system for PHP packages, and is shipped with every release of PHP since version 4.3.0.

The PEAR channel (`pear.phpunit.de`) that is used to distribute Text\_Template needs to be registered with the local PEAR environment:

```
sb@ubuntu ~ % pear channel-discover pear.phpunit.de
Adding Channel "pear.phpunit.de" succeeded
Discovery of channel "pear.phpunit.de" succeeded

```

This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel:

```
sb@vmware ~ % pear install phpunit/Text_Template
downloading Text_Template-1.0.0.tgz ...
Starting to download Text_Template-1.0.0.tgz (2,493 bytes)
....done: 2,493 bytes
install ok: channel://pear.phpunit.de/Text_Template-1.0.0

```

After the installation you can find the Text\_Template source files inside your local PEAR directory; the path is usually `/usr/lib/php/Text`.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.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

Unknown

Total

1

Last Release

5085d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70713?v=4)[md](/maintainers/md)[@md](https://github.com/md)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (18 commits)")[![MarcelloDuarte](https://avatars.githubusercontent.com/u/144535?v=4)](https://github.com/MarcelloDuarte "MarcelloDuarte (1 commits)")

---

Tags

template

### Embed Badge

![Health badge](/badges/sebastianbergmann-php-text-template/health.svg)

```
[![Health](https://phpackages.com/badges/sebastianbergmann-php-text-template/health.svg)](https://phpackages.com/packages/sebastianbergmann-php-text-template)
```

###  Alternatives

[phpoffice/phpword

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

7.6k39.0M235](/packages/phpoffice-phpword)[rize/uri-template

PHP URI Template (RFC 6570) supports both expansion &amp; extraction

435149.5M63](/packages/rize-uri-template)[mopa/bootstrap-sandbox-bundle

Seperate live docs from code

256.8k](/packages/mopa-bootstrap-sandbox-bundle)[larablocks/pigeon

A more flexible email message builder for Laravel 5 including chained methods, reusable message configurations, and message layout and template view management.

143.7k](/packages/larablocks-pigeon)

PHPackages © 2026

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