Skip to content
/ PHPTAL Public

PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages

License

Notifications You must be signed in to change notification settings

phptal/PHPTAL

Repository files navigation

PHPTAL - Template Attribute Language for PHP

Monthly Downloads License Build Status Scrutinizer Quality Score

Requirements

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.