PHPackages                             namesco/ztal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. namesco/ztal

ActiveLibrary[Templating &amp; Views](/categories/templating)

namesco/ztal
============

ZTal makes integrating the PHP templating system PHPTAL into Zend Framework easy.

2.1.1(2y ago)2119.9k3[6 issues](https://github.com/namesco/ZTal/issues)Apache-2.0PHPPHP &gt;=5.3.0CI failing

Since Mar 8Pushed 2y ago17 watchersCompare

[ Source](https://github.com/namesco/ZTal)[ Packagist](https://packagist.org/packages/namesco/ztal)[ Docs](http://opensource.names.co.uk/ztal/)[ RSS](/packages/namesco-ztal/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (20)Versions (35)Used By (0)

ZTal
====

[](#ztal)

ZTal is an open source project to replace the View and Form capabilities of [Zend Framework](http://framework.zend.com) with the [PHPTAL](http://phptal.org)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
-------------

[](#documentation)

For more information and documentation please visit the [ZTal Wiki](http://github.com/namesco/ZTal/wiki) or look through the example Zend application provided.

Compatibility
-------------

[](#compatibility)

As of v1.5.0, ZTal requires PHPTAL 1.2.3 (currently unreleased) or later. Alternatively, you can apply a [tiny patch](http://github.com/namesco/ZTal/wiki/Using-PHPTAL-1.2.2) to 1.2.2.

Other Questions
---------------

[](#other-questions)

Feel free to chat with the ZTal developers (and others) on IRC in the #ztal channel on Freenode.

License
-------

[](#license)

See LICENSE for more details.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~127 days

Recently: every ~357 days

Total

31

Last Release

998d ago

Major Versions

1.6.14 → 2.0.02021-01-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/344317?v=4)[Robert Goldsmith](/maintainers/far-blue)[@far-blue](https://github.com/far-blue)

![](https://avatars.githubusercontent.com/u/207391?v=4)[Alexander James Field Mace](/maintainers/alexmace)[@alexmace](https://github.com/alexmace)

![](https://www.gravatar.com/avatar/c2fecfeadca598be917b367e724355b2ca1bef3611ca1bc4ad65435674a7e9d4?d=identicon)[Drarok](/maintainers/Drarok)

---

Top Contributors

[![far-blue](https://avatars.githubusercontent.com/u/344317?v=4)](https://github.com/far-blue "far-blue (34 commits)")[![alexmace](https://avatars.githubusercontent.com/u/207391?v=4)](https://github.com/alexmace "alexmace (27 commits)")[![timcurzon](https://avatars.githubusercontent.com/u/146207?v=4)](https://github.com/timcurzon "timcurzon (12 commits)")[![marcusjhdon](https://avatars.githubusercontent.com/u/299708?v=4)](https://github.com/marcusjhdon "marcusjhdon (10 commits)")[![artdevgame](https://avatars.githubusercontent.com/u/353729?v=4)](https://github.com/artdevgame "artdevgame (8 commits)")[![jackw](https://avatars.githubusercontent.com/u/73201?v=4)](https://github.com/jackw "jackw (5 commits)")[![Drarok](https://avatars.githubusercontent.com/u/55830?v=4)](https://github.com/Drarok "Drarok (2 commits)")[![namescoaksmith](https://avatars.githubusercontent.com/u/14217448?v=4)](https://github.com/namescoaksmith "namescoaksmith (2 commits)")[![gglendinning](https://avatars.githubusercontent.com/u/10436690?v=4)](https://github.com/gglendinning "gglendinning (1 commits)")[![pdunsford](https://avatars.githubusercontent.com/u/16705321?v=4)](https://github.com/pdunsford "pdunsford (1 commits)")

---

Tags

zendtemplate enginezopephptal

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/namesco-ztal/health.svg)

```
[![Health](https://phpackages.com/badges/namesco-ztal/health.svg)](https://phpackages.com/packages/namesco-ztal)
```

###  Alternatives

[phptal/phptal

PHPTAL is a templating engine for PHP5 that implements Zope Page Templates syntax

179421.6k19](/packages/phptal-phptal)[foil/foil

PHP template engine for native PHP templates

170111.2k7](/packages/foil-foil)[proai/laravel-handlebars

A Laravel wrapper for LightnCandy for using the Handlebars (and Mustache) template engine.

38204.7k](/packages/proai-laravel-handlebars)[zfbase/zend1-bootstrap3

Twitter Bootstrap v.3 Forms for Zend Framework v.1

1455.7k2](/packages/zfbase-zend1-bootstrap3)[wanze/template-engine-factory

Provides ProcessWire integration for various template engines such as Twig.

2612.0k4](/packages/wanze-template-engine-factory)[leitsch/kirby-blade

Enable Laravel Blade Template Engine for Kirby 4 and Kirby 5

219.2k](/packages/leitsch-kirby-blade)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
