scn / phptal
PHPTAL is a templating engine for PHP that implements Zope Page Templates syntax
Installs: 75 010
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 42
Open Issues: 0
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- ext-dom: *
- ext-gettext: *
- ext-simplexml: *
- symfony/polyfill-mbstring: ^1.12
- symfony/polyfill-php82: ^1.26
Requires (Dev)
- ext-mbstring: *
- friendsofphp/php-cs-fixer: ^3
- phpstan/phpstan: ^1.3
- phpunit/phpunit: ^10
- rector/rector: ^0.19
Suggests
- ext-gettext: Php gettext extension for i18n support
- ext-mbstring: Multibyte support is important for any non-english strings
- scn/phptal-lint: Linter for phptal template files
- usox/tal-i18n-extract: Extracts translation-keys from phptal templates
README
Requirements
See the compatibility table below for supported php versions.
If you want to use the builtin internationalisation system (I18N), the php-gettext extension must be installed or compiled into PHP (--with-gettext
).
Compatibility
Composer install (recommended)
You can install this package by using Composer. Link to Packagist: https://packagist.org/packages/scn/phptal
composer require scn/phptal
Getting the latest development version
You can find the latest development version on github:
https://github.com/SC-Networks/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.
If you'd like to create the sourcecode documentation, you need the phpDocumentor.phar
executable
in your $PATH
.