PHPackages                             dhii/placeholder-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. dhii/placeholder-template

AbandonedArchivedLibrary

dhii/placeholder-template
=========================

A template implementation that replaces placeholders in text

v0.1-alpha2(7y ago)01.3k5MITPHPPHP ^5.4 | ^7.0

Since Jun 3Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Dhii/placeholder-template)[ Packagist](https://packagist.org/packages/dhii/placeholder-template)[ RSS](/packages/dhii-placeholder-template/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (2)Dependencies (15)Versions (4)Used By (5)

Dhii - Placeholder Template
===========================

[](#dhii---placeholder-template)

[![Build Status](https://camo.githubusercontent.com/e292ebbfb9b45b366413b5f988e09903eadaeff3ae9fe2b7968f88e579e40ca3/68747470733a2f2f7472617669732d63692e636f6d2f446869692f706c616365686f6c6465722d74656d706c6174652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.com/Dhii/placeholder-template)[![Code Climate](https://camo.githubusercontent.com/e2b7a8e7ebc6b13c7d352d64662aa024a471cb74aa10efedff634c3634228ac9/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f706c616365686f6c6465722d74656d706c6174652f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/placeholder-template)[![Test Coverage](https://camo.githubusercontent.com/9b2081aaccc0a26740119a980ae8181e29217b6e325cdff2b637e26e7390855c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f706c616365686f6c6465722d74656d706c6174652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Dhii/placeholder-template/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/1b93807c8d8003263877770be83e49fe8ba32ad060ad4bf6132d2b3ca3d93949/68747470733a2f2f706f7365722e707567782e6f72672f646869692f706c616365686f6c6465722d74656d706c6174652f76657273696f6e)](https://packagist.org/packages/dhii/placeholder-template)[![Latest Unstable Version](https://camo.githubusercontent.com/59688f7f908f148c72efd66f7c88ad9304dedfcee4e2551074f8cceb41c9dd96/68747470733a2f2f706f7365722e707567782e6f72672f646869692f706c616365686f6c6465722d74656d706c6174652f762f756e737461626c65)](https://packagist.org/packages/dhii/placeholder-template)[![This package complies with Dhii standards](https://camo.githubusercontent.com/44bbe8c7678c1784cfc53cabce5d3e32fc22a840453c5ed9c08601522fe7c213/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446869692d436f6d706c69616e742d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Dhii/dhii)

Details
-------

[](#details)

A template implementation that replaces placeholders in text

### Classes

[](#classes)

- [`PlaceholderTemplate`](src/PlaceholderTemplate.php) - A concrete placeholder template implementation. Allows rendering of a template with placeholders, so as to have the placeholders substituted by values from a container.
- [`AbstractBasePlaceholderTemplate`](src/AbstractBasePlaceholderTemplate.php) - Common functionality for placeholder template implementations.
- [`PlaceholderTemplateFactory`](src/PlaceholderTemplateFactory.php) - A concrete factory of placeholder templates.
- [`AbstractBasePlaceholderTemplateFactory`](src/AbstractBasePlaceholderTemplateFactory.php) - Common functionality for placeholder template factories.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Total

2

Last Release

2895d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dhii-placeholder-template/health.svg)

```
[![Health](https://phpackages.com/badges/dhii-placeholder-template/health.svg)](https://phpackages.com/packages/dhii-placeholder-template)
```

PHPackages © 2026

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