PHPackages                             new-inventor/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. new-inventor/template

ActiveLibrary

new-inventor/template
=====================

Template class for string replacements

1.0.0(10y ago)034MITPHPPHP &gt;=5.4.0

Since Apr 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/new-inventor/template)[ Packagist](https://packagist.org/packages/new-inventor/template)[ RSS](/packages/new-inventor-template/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

\#Template

Класс для замены заглушек мекстом. Границы заглушек определяются в настройках `$config['template']['borders']`. пример конфига можно посмотреть в файле src/config/default.

Использование
-------------

[](#использование)

```
$template = new Template($someString)

$placeholders = $template->getPlaceholders();
foreach($placeholders as $placeholder){
    do something ..
    $template->addReplacement($resString);
}

return $template->getReplaced();

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3685d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2084172da990b68442d9b2af5c9cd30a006522fc74984a586b02066168f89733?d=identicon)[George Ionov](/maintainers/George%20Ionov)

---

Top Contributors

[![new-inventor](https://avatars.githubusercontent.com/u/4446486?v=4)](https://github.com/new-inventor "new-inventor (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/new-inventor-template/health.svg)

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

PHPackages © 2026

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