syntaxseed / templateseed
Lightweight and simple templating class for PHP. Caching, and natural PHP template syntax.
Fund package maintenance!
syntaxseed
github.com/syntaxseed#donatecontribute
Requires
- php: ^7.2|^8.0|^8.1
Requires (Dev)
- phpunit/phpunit: ^9
README
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.