PHPackages                             syntaxseed/templateseed - 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. syntaxseed/templateseed

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

syntaxseed/templateseed
=======================

Lightweight and simple templating class for PHP. Caching, and natural PHP template syntax.

v1.4.0(4y ago)21071[1 issues](https://github.com/syntaxseed/templateseed/issues)MITPHPPHP ^7.2|^8.0|^8.1CI failing

Since Jan 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/syntaxseed/templateseed)[ Packagist](https://packagist.org/packages/syntaxseed/templateseed)[ Fund](https://github.com/syntaxseed#donatecontribute)[ GitHub Sponsors](https://github.com/syntaxseed)[ RSS](/packages/syntaxseed-templateseed/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (21)Used By (0)

TemplateSeed
============

[](#templateseed)

 [![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/629601171dd54992db099418310a3cd0bc68b8831a9d7424fe57a820165be427/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f73796e746178736565642f74656d706c617465736565642e737667)](https://camo.githubusercontent.com/629601171dd54992db099418310a3cd0bc68b8831a9d7424fe57a820165be427/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f73796e746178736565642f74656d706c617465736565642e737667) [![CircleCI Build](https://camo.githubusercontent.com/14b3fbc050c753f274fc5886650a8684f040232fb8a60d5f9749c72fc1881b91/68747470733a2f2f636972636c6563692e636f6d2f67682f73796e746178736565642f74656d706c617465736565642e7376673f7374796c653d736869656c64)](https://circleci.com/gh/syntaxseed/templateseed) [![Read Docs](https://camo.githubusercontent.com/21b147dd1502532ca8d7cd4b8edd9038a50e28e4f69ae8aa5fdc9648cb5dbdcb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526561642d446f63732d626c7565)](https://syntaxseed.github.io/templateseed/) [![PHP v8.0+](https://camo.githubusercontent.com/81e4e007d20e342305d6e5db0c1495a2e805692299266abe8665596e87bac30c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302b2d627269676874677265656e2e737667)](https://camo.githubusercontent.com/81e4e007d20e342305d6e5db0c1495a2e805692299266abe8665596e87bac30c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e302b2d627269676874677265656e2e737667) [![PHP v8.1+](https://camo.githubusercontent.com/e6cebb42666cfbdd19ff9d0fb9412179dbb1f973ac2c65c5d4c9a3632fa40330/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d627269676874677265656e2e737667)](https://camo.githubusercontent.com/e6cebb42666cfbdd19ff9d0fb9412179dbb1f973ac2c65c5d4c9a3632fa40330/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312b2d627269676874677265656e2e737667) [![PHP v8.2+](https://camo.githubusercontent.com/03da32956ea9388be03ff0d7030c9b302ab1631c3549dc918f7b3b91cef1ad57/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d627269676874677265656e2e737667)](https://camo.githubusercontent.com/03da32956ea9388be03ff0d7030c9b302ab1631c3549dc918f7b3b91cef1ad57/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d627269676874677265656e2e737667) [![PHP v8.3+](https://camo.githubusercontent.com/1a9a3139b6c27e0f4479e1862cffa83c7178ac66e957e1dc59cadf0bf7db122c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332b2d627269676874677265656e2e737667)](https://camo.githubusercontent.com/1a9a3139b6c27e0f4479e1862cffa83c7178ac66e957e1dc59cadf0bf7db122c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332b2d627269676874677265656e2e737667) [![License: MIT](https://camo.githubusercontent.com/dd78cddde448ab3a81183bd0540be271d7fc8af76c14470a81607515822193c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73796e746178736565642f74656d706c61746573656564)](https://camo.githubusercontent.com/dd78cddde448ab3a81183bd0540be271d7fc8af76c14470a81607515822193c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73796e746178736565642f74656d706c61746573656564)
 [ ![follow on Mastodon](https://camo.githubusercontent.com/c2c1609ec232e066715a6436d48bab6b7660d523e191ca7d7511c81b5e1e0a35/68747470733a2f2f696d672e736869656c64732e696f2f6d6173746f646f6e2f666f6c6c6f772f31313336313f646f6d61696e3d6874747073253341253246253246706870632e736f6369616c)](https://phpc.social/@syntaxseed) [![Sponsor Project](https://camo.githubusercontent.com/e699f94416c82026cff6cc197dbdeb21e3fcd1fb9622550f8fe9d89967dc337b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53706f6e736f722d50726f6a6563742d626c7565)](https://github.com/syntaxseed#donatecontribute)

A lightweight, simple PHP templating class with caching and natural PHP template syntax.

Licence: MIT.

Version: 1.4.0

Author: Sherri Wheeler (Mastodon: [@SyntaxSeed](https://phpc.social/@syntaxseed))

Features
--------

[](#features)

- PSR-4 autoloading compliant structure.
- Simple to learn and use.
- Template markup language is standard PHP.
- Pass any number of parameters to a template.
- Set global parameters for all templates.
- Small code footprint: integrates easily into your project.
- Simple output caching.
- Supports masterpages (sub-templates).
- Easy to customize.
- Unit-Testing with PHPUnit.
- Can be used for static site generation.

Get Started &amp; Documentation
-------------------------------

[](#get-started--documentation)

**[Jump Into The TemplateSeed Docs!](https://syntaxseed.github.io/templateseed/)**

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance44

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.3% 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 ~82 days

Recently: every ~236 days

Total

20

Last Release

1479d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.6

v1.3.0PHP ^7.2|^8.0

v1.3.1PHP ^7.2|^8.0|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/812750e6370c8e25a9fe430e200c80a92cd65a47a2e0d919f982cb5d264726e7?d=identicon)[syntaxseed](/maintainers/syntaxseed)

---

Top Contributors

[![syntaxseed](https://avatars.githubusercontent.com/u/825423?v=4)](https://github.com/syntaxseed "syntaxseed (58 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

cachingphpphp-templatingviewcomposerpackagetemplatetemplatingview

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/syntaxseed-templateseed/health.svg)

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

PHPackages © 2026

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