Latte - amazing template engine for PHP
Latte is a template engine for PHP which eases your work and ensures the output is protected against vulnerabilities, such as XSS.
Latte is fast: it compiles templates to plain optimized PHP code.
Latte is secure: it is the first PHP engine introducing content-aware escaping.
Latte speaks your language: it has intuitive syntax and helps you to easily build better websites.
Latte package for PHP 5.3 requires PHP 5.3.0 or later. The package for PHP 5.2 works with PHP 5.2.0 or later.
The best way to install Latte is to download latest package from http://latte.nette.org or using Composer:
-
Install Composer: (see http://getcomposer.org/download)
curl -s http://getcomposer.org/installer | php
-
Install Latte to your project via Composer:
php composer.phar require latte/latte