Description
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 php-gettext extension must be installed or compiled into PHP (--with-gettext).
PHPTAL alternatives and similar libraries
Based on the "Templating" category.
Alternatively, view PHPTAL alternatives based on common mentions on social networks and blogs.
-
Smarty
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. -
Latte
☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites. -
TextGenerator
TextGenerator is a PHP package that aims to generate automated texts from data. -
Aura.View
Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers. -
Tale Jade
A complete and fully-functional implementation of the Jade template language for PHP
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of PHPTAL or a related project?
Popular Comparisons
README
PHPTAL - Template Attribute Language for PHP
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 php-gettext extension must be installed or compiled into PHP (--with-gettext
).
Composer install (recommended)
You can install this package by using Composer. Link to Packagist: https://packagist.org/packages/phptal/phptal
composer require phptal/phptal
Manual install
Get the latest PHPTAL tarball from https://github.com/phptal/PHPTAL/releases
tar zxvf PHPTAL-X.X.X.tar.gz
mv PHPTAL-X.X.X/PHPTAL* /path/to/your/php/include/path/
Changelog
Please see the projects releases page
Getting the latest development version
You can find the latest development version on github:
https://github.com/phptal/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.
*Note that all licence references and agreements mentioned in the PHPTAL README section above
are relevant to that project's source code only.