The PHPTAL library is licensed under the terms of the GNU Lesser General Public License (the license allows use of PHPTAL in both free and commercial, closed-source projects).
tar zxvf PHPTAL-1.3.0.tar.gz)
PHPTAL-1.3.0directory to anywhere you like (your project or include directory)
PHPTAL.phpin your scripts (e.g.
If you're using Composer to manage dependencies:
composer require phptal/phptal
The latest stable release of PHPTAL (1.3.0) is always reachable via latest.tar.gz, and the following will work:
pear install http://phptal.org/latest.tar.gz pear upgrade http://phptal.org/latest.tar.gz
These versions are for testing. If you've found bug in PHPTAL, please check if it's not fixed already. Use of this code in production is risky.
You can access latest PHPTAL source code using Git or Subversion:
git clone git://github.com/pornel/PHPTAL
You can also install older releases of PHPTAL using specific URLs:
pear install http://phptal.org/files/PHPTAL-1.3.0.tar.gz pear upgrade http://phptal.org/files/PHPTAL-1.3.0.tar.gz