taluu / link-tpl
Templating Engine for PHP
Requires
- php: >=5.2.1
Requires (Dev)
- phpunit/phpunit: ~3.7
This package is not auto-updated.
Last update: 2022-02-01 12:20:37 UTC
README
A templating engine in PHP, using a XML syntax like, and a parser based on PCREs.
Requires at least PHP 5.2.3, because of the utilisation of the Standard PHP Library and several object specifications available only since 5.2.1. Compatible PHP 5.3, PHP 5.4 and PHP 5.5
Documentation
For any pieces of documentation, check the official site (Talus' TPL > Documentation). It is in french though, and is up to date only for Link < 1.13 (aka Talus TPL).
A recent version of the documentation (in english) can be found in the docs
folder, and an online version in available on
Read the docs.org.
For Link < 1.13, you may find an english documentation on Pingax's fork of Link TPL.
Installation
You have multiple ways to install Link. If you are unsure what to do, go with the tarball.
From the tarball release
- Download the most recent tarball from the download page
- Unpack the tarball
- Move the files somewhere in your project
Development version
- Install Git
git clone git://github.com/Taluu/Link-TPL.git
Via Composer
-
Install composer in your project:
curl -s http://getcomposer.org/installer | php
-
Create a
composer.json
file in your project root:{ "require": { "Taluu/Link-TPL": "1.*" } }
-
Install via composer :
php composer.phar install
About this project...
This project was initiated as a fork "from scratch" from the templating engine of the Fire Soft Board project. It also has some stuff inspired from the Twig's, PHPBB3's and Django's templating engines.