PHPackages                             phpunit/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. [Testing &amp; Quality](/categories/testing)
4. /
5. phpunit/php-text-template

ActiveLibrary[Testing &amp; Quality](/categories/testing)

phpunit/php-text-template
=========================

Simple template engine.

6.0.0(4mo ago)7.4k896.1M↓22.6%30[1 issues](https://github.com/sebastianbergmann/php-text-template/issues)20BSD-3-ClausePHPPHP &gt;=8.4CI passing

Since Sep 23Pushed 4d ago8 watchersCompare

[ Source](https://github.com/sebastianbergmann/php-text-template)[ Packagist](https://packagist.org/packages/phpunit/php-text-template)[ Docs](https://github.com/sebastianbergmann/php-text-template/)[ GitHub Sponsors](https://github.com/sebastianbergmann)[ Fund](https://liberapay.com/sebastianbergmann)[ RSS](/packages/phpunit-php-text-template/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (26)Used By (20)

[![Latest Stable Version](https://camo.githubusercontent.com/4225847211cdc8f333995f6d3d5031f880b7f5afdee098f8e51d5e08a6ae766e/68747470733a2f2f706f7365722e707567782e6f72672f706870756e69742f7068702d746578742d74656d706c6174652f76)](https://packagist.org/packages/phpunit/php-text-template)[![CI Status](https://github.com/sebastianbergmann/php-text-template/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/php-text-template/actions)[![codecov](https://camo.githubusercontent.com/0870f4f33c4331136a735f5734ca117c1249f307f8b7efa5d88a986a582df92d/68747470733a2f2f636f6465636f762e696f2f67682f73656261737469616e626572676d616e6e2f7068702d746578742d74656d706c6174652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/sebastianbergmann/php-text-template)

php-text-template
=================

[](#php-text-template)

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require phpunit/php-text-template

```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev phpunit/php-text-template

```

###  Health Score

80

—

ExcellentBetter than 100% of packages

Maintenance89

Actively maintained with recent releases

Popularity84

Widely adopted with strong download metrics

Community37

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.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 ~277 days

Recently: every ~119 days

Total

19

Last Release

12d ago

Major Versions

2.0.4 → 3.0.02023-02-03

3.0.1 → 4.0.02024-02-02

4.0.1 → 5.0.02025-02-07

3.0.x-dev → 4.0.x-dev2025-09-26

4.0.x-dev → 6.0.02026-02-06

PHP version history (9 changes)1.1.2PHP &gt;=5.2.7

1.1.3PHP &gt;=5.3.3

2.0.0PHP ^7.3

2.0.2PHP ^7.3 || ^8.0

2.0.3PHP &gt;=7.3

3.0.0PHP &gt;=8.1

4.0.0PHP &gt;=8.2

5.0.0PHP &gt;=8.3

6.0.0PHP &gt;=8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1089?v=4)[Sebastian Probst Eide](/maintainers/sebastian)[@sebastian](https://github.com/sebastian)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (357 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (24 commits)")[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (1 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (1 commits)")[![sun](https://avatars.githubusercontent.com/u/41992?v=4)](https://github.com/sun "sun (1 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (1 commits)")

---

Tags

template

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3309.4M1.2k](/packages/szepeviktor-phpstan-wordpress)[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M340](/packages/dms-phpunit-arraysubset-asserts)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3524.1M38](/packages/jasonmccreary-laravel-test-assertions)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8219.1M67](/packages/orchestra-workbench)[roquie/laravel-dusk-select2

Select2.js support for the Laravel Dusk testing.

41356.2k5](/packages/roquie-laravel-dusk-select2)

PHPackages © 2026

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