namesco / ztal
ZTal makes integrating the PHP templating system PHPTAL into Zend Framework easy.
Installs: 19 902
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 18
Forks: 3
Open Issues: 7
Requires
- php: >=5.3.0
- phptal/phptal: 1.4.0
- zf1s/zend-application: @stable
- zf1s/zend-cache: @stable
- zf1s/zend-config: @stable
- zf1s/zend-controller: @stable
- zf1s/zend-currency: @stable
- zf1s/zend-date: @stable
- zf1s/zend-form: @stable
- zf1s/zend-layout: @stable
- zf1s/zend-loader: @stable
- zf1s/zend-locale: @stable
- zf1s/zend-mail: @stable
- zf1s/zend-mime: @stable
- zf1s/zend-paginator: @stable
- zf1s/zend-registry: @stable
- zf1s/zend-translate: @stable
- zf1s/zend-view: @stable
Requires (Dev)
- phing/phing: @stable
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: 2.*
This package is auto-updated.
Last update: 2024-11-20 22:31:56 UTC
README
ZTal is an open source project to replace the View and Form capabilities of Zend Framework with the PHPTAL templating engine.
ZTal provides the glue that allows Zend Framework to use PHPTAL templates as Views and Layouts while also allowing PHPTAL to access Zend Framework's Translation facilities. In particular:
- ZTal replaces Zend View and Layout objects with PHPTAL equivalents.
- ZTal has macros to render Zend_Form and other common Zend objects such as Zend_Date and Zend_Currency.
- ZTal has access to Zend_Translate, unifying translation support.
- ZTal handles PHPTAL translation namespaces where they are not supported natively in Zend_Translate.
- ZTal provides plural support to PHPTAL's translation capabilities.
- ZTal can use Zend_Cache to cache rendered PHPTAL pages.
- ZTal provides a Zend_Mail subclass to use templates with email.
Documentation
For more information and documentation please visit the ZTal Wiki or look through the example Zend application provided.
Compatibility
As of v1.5.0, ZTal requires PHPTAL 1.2.3 (currently unreleased) or later. Alternatively, you can apply a tiny patch to 1.2.2.
Other Questions
Feel free to chat with the ZTal developers (and others) on IRC in the #ztal channel on Freenode.
License
See LICENSE for more details.