Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ZTal makes integrating the PHP templating system PHPTAL into Zend Framework easy.
PHP
Failed to load latest commit information.
Controller/Plugin Introduced ztal namespace ztal:data-attributes attribute. Now possibl…
Macros/ztal Save HTTP parameters in ZTable so they are available to the paginator…
Table
Tal Add support for PHPTAL >= 1.2.3.
Tales
Translate/Adaptor Namespace changes for Ztal\Translate\Adaptor\Gettext, coding standard…
example Remove trailing whitespace from ends of lines, as it's been bugging m…
tests
.gitignore Fixed the coding standard violations
Autoloader.php
CHANGELOG
Form.php Namespace changes for Ztal\Form.
LICENSE Added README and LICENSE files.
Mail.php Move the *creation* of the view back into the constructor, but keep t…
README.md Update changelog, and README regarding the PHPTAL requirement.
build.xml Set the phpunit run to have passthru=true so that what PHPUnit output…
composer.json Updating psr-4 settings as requested
package.xml

README.md

ZTal

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.

Something went wrong with that request. Please try again.