syntaxseed/templateseed

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

v1.4.0 2022-04-28 17:43 UTC

This package is auto-updated.

Last update: 2024-12-19 20:09:48 UTC


README

GitHub tag (latest SemVer)   CircleCI Build   Read Docs   PHP v8.0+   PHP v8.1+   PHP v8.2+   PHP v8.3+   License: MIT
follow on Mastodon   Sponsor Project

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://syntaxseed.com

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 & Documentation

Jump Into The TemplateSeed Docs!