TinyTemplate
A tiny templating engine written in PHP.
This small engine is not really meant for
production environments unless heavily modified
to fit your business' needs., (*1)
Installation
To install this, please use Composer and import the
project using the following command:
composer require binarmorker/tinytemplate
, (*2)
Usage
To learn how to use the engine, please refer to the
examples contained into the 'test' folder., (*3)
This package only contains basic rules to display
variables and allow loops and conditions. If you
wish to extend it, you can create more rules and
load them into the Engine, or if you think some
rules would be better integrated into the basic
package, please submit a pull request., (*4)
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
This project is distributed with the GPL 3.0 licence., (*5)