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.2.2.tar.gz)
PHPTAL-1.2.2directory to anywhere you like (your project or include directory)
PHPTAL.phpin your scripts (e.g.
The latest stable release of PHPTAL (1.2.2) 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
svn co https://svn.motion-twin.com/phptal/trunk phptal
You can also install older releases of PHPTAL using specific URLs:
pear install http://phptal.org/files/PHPTAL-1.2.2.tar.gz pear upgrade http://phptal.org/files/PHPTAL-1.2.2.tar.gz