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

Installs: 19 214

Dependents: 13

Stars: 102

Watchers: 25

Forks: 29

Open Issues: 3

Language: PHP

1.3.0 2014-03-15 19:29 UTC


Master: Build Status

Usage 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 gettext extension must be compiled into PHP (--with-gettext).

Non-PEAR install

To run you only need PHPTAL.php and files in PHPTAL directory. Other files are for unit tests and PEAR installer.

Get the latest PHPTAL package from

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

PEAR Install

Get the latest PHPTAL package from

Then run:

pear install PHPTAL-X.X.X.tar.gz

Getting the latest development version

You can checkout the latest development version using:

svn co phptal

PHPTAL development requirements

If you want to hack PHPTAL (don't forget to send me patches), you will require:

  • The PHPTAL development package
  • PEAR (to easily install other tools)

  • Phing to run maintainance tasks

    pear channel-discover
    pear install phing/phing
  • PHPUnit 3.4 to run tests

    pear channel-discover
    pear channel-discover
    pear channel-discover
    pear install phpunit/PHPUnit