PHPackages                             scaleplan/templater - 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. scaleplan/templater

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

scaleplan/templater
===================

PHP-templater for Scaleplan framework

1.0.0(6y ago)1161PHP

Since Dec 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/scaleplan/templater)[ Packagist](https://packagist.org/packages/scaleplan/templater)[ RSS](/packages/scaleplan-templater/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PQSkaTpl
========

[](#pqskatpl)

Template engine for PHP.

#### Installation

[](#installation)

`composer reqire scaleplan/templater`

#### Description

[](#description)

Templates are HTML documents, standardization is based on adding specific classes to the HTML templates: we insert classes that indicate what data and where to insert. When creating an object, we pass the path to the template file to the designer, after that, we can add certain data to the generated page, most often these are samples from the database. The data should be in the form of an array of records, where the record is an associative array. You can insert data either in the HTML element text or in some attributes.

For example:

Have a template block:

```

    Account

```

And data:

```
$data = [
    [
        'name' = > 'Aleksandr',
        'image' = > '/img/photo.jpg',
        'link' = > '/users/12'
        'user_link_class' = > 'trash-user'
    ]
];

```

Then running the code:

```
$page = new PQSkaTpl ('/templates/main.html');
echo (string) $page->setMultiData ($data, '.user');

```

We get the HTML:

```

    Aleksandr

    Account

```

If the data contains multiple records, the template block will be copied as many times, how many records contain data. Blocks will be inserted one after another.

[Documentation](docs_en)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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

2333d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10077243?v=4)[Aleksandr Avtomonov](/maintainers/avtomon)[@avtomon](https://github.com/avtomon)

---

Top Contributors

[![avtomon](https://avatars.githubusercontent.com/u/10077243?v=4)](https://github.com/avtomon "avtomon (8 commits)")[![qooiz](https://avatars.githubusercontent.com/u/53611552?v=4)](https://github.com/qooiz "qooiz (1 commits)")

### Embed Badge

![Health badge](/badges/scaleplan-templater/health.svg)

```
[![Health](https://phpackages.com/badges/scaleplan-templater/health.svg)](https://phpackages.com/packages/scaleplan-templater)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[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)

PHPackages © 2026

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