PHPackages                             mikjaer/simpletpl - 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. mikjaer/simpletpl

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

mikjaer/simpletpl
=================

SimpleTpl is a simple Smarty-like template engine

1.0.0(10y ago)026GPLv2 or BSDPHP

Since May 10Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/mikjaer/simpletpl)[ Packagist](https://packagist.org/packages/mikjaer/simpletpl)[ RSS](/packages/mikjaer-simpletpl/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

SimpleTpl v.1.0
===============

[](#simpletpl-v10)

A lightweight PHP Template engine, designed to replace Smarty.

Project goals:
--------------

[](#project-goals)

- Warning-free, neat and easy understanbable (and thereby maintainable and extensible) code
- Small and durable solution for places where a true template enginge susch as Jinja2 is overkill

FAQ
===

[](#faq)

**Q: Why no {section}{/section} controlstructure?**
A: It has been replace with {for} and {foreach}, the behaviour of a given function should not be dictated by it' parameters but by the functionname itself.

**Q: How do i get started?**
A: Download example.php, example.tpl and SimpleTpl.class.php and read the code, play around with it, it's pretty self-explanatory.

More details in getting-started.txt.

**Q: What's the license?**
A: GNU GPL v2 or MIT BSD, i reserve the right to re-release the code and any contributions under a different license under my choosing. If you want this software under another license, please contact me.

**Q: Can i make money using this code?**
A: Sure, just keep my name in the credits and drop me a line if you do.

**Q: What's the futue plans for this library? (2026)**
A: I plan to PHP8-ify the code, and add Jinja2 like functions.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance52

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3702d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1256882?v=4)[Mikkel Mikjaer Christensen](/maintainers/Mikjaer)[@Mikjaer](https://github.com/Mikjaer)

---

Top Contributors

[![Mikjaer](https://avatars.githubusercontent.com/u/1256882?v=4)](https://github.com/Mikjaer "Mikjaer (38 commits)")

### Embed Badge

![Health badge](/badges/mikjaer-simpletpl/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.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)
