PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
Clone or download
Potherca Merge pull request #59 from brammittendorff/patch-1
Fixes false positive ClamAV bug in SaxXmlParser.php
Latest commit de4c466 Jul 16, 2017

README.md

PHPTAL - Template Attribute Language for PHP

Monthly Downloads License Build Status Scrutinizer Quality Score

Requirements

To use PHPTAL in your projects, you will only require PHP 5.1.2 or later.

If you want to use the builtin internationalisation system (I18N), the php-gettext extension must be installed or compiled into PHP (--with-gettext).

Composer install (recommended)

You can install this package by using Composer. Link to Packagist: https://packagist.org/packages/phptal/phptal

composer require phptal/phptal

Manual install

Get the latest PHPTAL tarball from https://github.com/phptal/PHPTAL/releases

tar zxvf PHPTAL-X.X.X.tar.gz
mv PHPTAL-X.X.X/PHPTAL* /path/to/your/php/include/path/

Changelog

Please see the projects releases page

Getting the latest development version

You can find the latest development version on github:

https://github.com/phptal/PHPTAL

Addition development requirements (optional)

If you would like to generate the offical html/text handbook by calling make doc, you will need to install the xmlto package. Please use your operating systems package manager to install it.