PHPackages                             r7r/ste - 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. r7r/ste

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

r7r/ste
=======

A compiling template engine with an XML-ish syntax

2.0.1(5y ago)012MITPHPPHP &gt;=7.3.0

Since May 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/silvasur/ste)[ Packagist](https://packagist.org/packages/r7r/ste)[ Docs](http://github.com/silvasur/ste)[ RSS](/packages/r7r-ste/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (11)Used By (0)

STE Template Engine
===================

[](#ste-template-engine)

The STE Template Engine (STE) is a template engine for the PHP programming language.

⚠️ No longer maintained ⚠️
--------------------------

[](#️-no-longer-maintained-️)

For now, I no longer maintain Ratatöskr / STE. I don't use it myself any more and to my knowledge nobody else does either. The time I'd need to invest to keep up with new PHP versions and other maintenance chores therefore don't seem worth it. I might revisit this in the future, but for now, I want to focus on other things.

Get it via composer / packagist
-------------------------------

[](#get-it-via-composer--packagist)

[Composer](https://getcomposer.org) is a dependency manager and package manager for PHP. Using composer is the recommended way of installing STE.

Just put `r7r/ste` in your requirements (I suggest using the version `2.*`) and execute `composer install`. Then include composer's autoloader and you can simply use all stuff in the `\r7r\ste` namespace without further `require`s or `include`s. Awesome!

Requirements
------------

[](#requirements)

PHP &gt;= 7.3

Why should you use it?
----------------------

[](#why-should-you-use-it)

- It's syntax (inspired by Textpattern's template syntax) is very easy and similar to the syntax of (X)HTML. So it should be easy for designers to learn this system.
- It has a simple, yet powerful plugin interface. You can easily define your own template functions / tags. It is even possible to write them in the template language itself, which makes it kind of a programming language...
- It can compile templates into PHP.
- You can use anonymous functions to define custom tags.

Documentation
-------------

[](#documentation)

The `docu` directory contains the documentation of the template language. If you need the documentation of the php code / the API, you can create it with the `mkdocu.sh` script. This is done using [phpDocumentor](https://phpdoc.org/). It will be installed as a dev-depencency by composer.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~578 days

Total

6

Last Release

2059d ago

Major Versions

1.0.3 → 2.0.02020-09-21

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/03837be6676051dda2b454bf4b882e24438c7ace2aa40425c00636c8e49e8b0c?d=identicon)[laria](/maintainers/laria)

---

Top Contributors

[![silvasur](https://avatars.githubusercontent.com/u/357232?v=4)](https://github.com/silvasur "silvasur (31 commits)")

---

Tags

compilingphptemplate-enginetemplating

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/r7r-ste/health.svg)

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

###  Alternatives

[twig/twig

Twig, the flexible, fast, and secure template language for PHP

8.4k443.2M5.8k](/packages/twig-twig)[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[smarty/smarty

Smarty - the compiling PHP template engine

2.3k39.1M395](/packages/smarty-smarty)[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.4M111](/packages/timber-timber)[league/plates

Plates, the native PHP template system that's fast, easy to use and easy to extend.

1.5k5.9M232](/packages/league-plates)[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)

PHPackages © 2026

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