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 2w 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 47% 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

2379d 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

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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