https://github.com/phptal/phptal
PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
https://github.com/phptal/phptal
php phptal template-engine template-language templating
Last synced: 8 months ago
JSON representation
PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
- Host: GitHub
- URL: https://github.com/phptal/phptal
- Owner: phptal
- License: lgpl-2.1
- Created: 2012-01-04T23:24:45.000Z (about 14 years ago)
- Default Branch: 1.11.x
- Last Pushed: 2024-09-24T13:24:16.000Z (over 1 year ago)
- Last Synced: 2025-04-03T03:52:11.068Z (9 months ago)
- Topics: php, phptal, template-engine, template-language, templating
- Language: PHP
- Homepage: http://phptal.org
- Size: 3.44 MB
- Stars: 177
- Watchers: 21
- Forks: 42
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHPTAL - Template Attribute Language for PHP
[](https://packagist.org/packages/phptal/phptal)
[](LICENSE)
[](https://travis-ci.org/phptal/PHPTAL)
[](https://scrutinizer-ci.com/g/phptal/PHPTAL/)
Requirements
============
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](http://getcomposer.org).
Link to Packagist: https://packagist.org/packages/phptal/phptal
```sh
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](https://github.com/phptal/PHPTAL/releases)
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.