PHPTAL is a templating engine for PHP that implements Zope Page Templates syntax


Keywords
zope, template engine, phptal, php, template-engine, templates
License
LGPL-2.1+

Documentation

PHPTAL - Template Attribute Language for PHP

Monthly Downloads License unittest

Requirements

See the compatibility table below for supported php versions.

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

Compatibility

PHPTAL-Version PHP-Version(s)
3.1 7.3, 7.4, 8.0
4 8.1, 8.2, 8.3

Composer install (recommended)

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

composer require scn/phptal

Getting the latest development version

You can find the latest development version on github:

https://github.com/SC-Networks/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.

If you'd like to create the sourcecode documentation, you need the phpDocumentor.phar executable in your $PATH.