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-10-28 22:39:53 UTC


README

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

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

Licence: MIT.

Version: 1.4.0

Author: Sherri Wheeler (Twitter @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!