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
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.
You have multiple ways to install Link. If you are unsure what to do, go with the tarball.
- Download the most recent tarball from the download page
- Unpack the tarball
- Move the files somewhere in your project
- Install Git
git clone git://github.com/Taluu/Link-TPL.git
-
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
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.