Download

The PHPTAL library is licensed under the terms of the GNU Lesser General Public License.

Installation procedure

Manual installation

  1. Download latest tarball or ZIP
  2. Unpack it (e.g. tar zxvf PHPTAL-1.2.1.tar.gz)
  3. Copy files from PHPTAL-1.2.1 directory to anywhere you like (your project or include directory)
  4. Include PHPTAL.php in your scripts (e.g. require_once "my/stuff/libs/phptal/PHPTAL.php";)

PEAR installation

The latest stable release of PHPTAL (1.2.1) 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

Source code

You can access latest PHPTAL source code using subversion.

svn co https://svn.motion-twin.com/phptal/trunk phptal

If you are willing to send me patches, please use svn diff to ease the communication.

Of course you can always browse the subversion repository. The trunk folder contains the latest code.

Old versions

You can also install older releases of PHPTAL using specific URLs:

pear install http://phptal.org/files/PHPTAL-1.2.1.tar.gz
pear upgrade http://phptal.org/files/PHPTAL-1.2.1.tar.gz