PHPackages                             scn/phptal - 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. scn/phptal

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

scn/phptal
==========

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

v4.2.0(4mo ago)298.3k↓39.6%31LGPL-2.1+PHPPHP ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Mar 15Pushed 4mo ago6 watchersCompare

[ Source](https://github.com/SC-Networks/PHPTAL)[ Packagist](https://packagist.org/packages/scn/phptal)[ Docs](https://github.com/SC-Networks/PHPTAL/)[ RSS](/packages/scn-phptal/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (17)Used By (1)

PHPTAL - Template Attribute Language for PHP
============================================

[](#phptal---template-attribute-language-for-php)

[![Monthly Downloads](https://camo.githubusercontent.com/44a8c915cb50a5cb49a485d5e1a0b35c6ad17bac55b21933819a29a74a2efc85/68747470733a2f2f706f7365722e707567782e6f72672f73636e2f70687074616c2f642f6d6f6e74686c79)](https://packagist.org/packages/scn/phptal)[![License](https://camo.githubusercontent.com/c7e4b222dd7733911258740568b21f8aa9ed0f0ed9618b950d30a0ab533bddf6/68747470733a2f2f706f7365722e707567782e6f72672f73636e2f70687074616c2f6c6963656e7365)](LICENSE)[![unittest](https://github.com/SC-Networks/PHPTAL/actions/workflows/unittests.yml/badge.svg)](https://github.com/SC-Networks/PHPTAL/actions/workflows/unittests.yml)

Requirements
============

[](#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
=============

[](#compatibility)

PHPTAL-VersionPHP-Version(s)4.28.3, 8.4, 8.54.18.1, 8.2, 8.3, 8.448.1, 8.2, 8.33.17.3, 7.4, 8.0Composer install (recommended)
==============================

[](#composer-install-recommended)

You can install this package by using [Composer](http://getcomposer.org). Link to Packagist:

```
composer require scn/phptal
```

Getting the latest development version
======================================

[](#getting-the-latest-development-version)

You can find the latest development version on github:

```
https://github.com/SC-Networks/PHPTAL

```

Addition development requirements (optional)
============================================

[](#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`.

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance74

Regular maintenance activity

Popularity35

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 76.4% of commits — single point of failure

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 ~286 days

Recently: every ~419 days

Total

16

Last Release

148d ago

Major Versions

1.3.0 → v2.0-rc12018-06-15

v2.0.1 → v3.0.02018-08-10

2.0.x-dev → v3.0.12019-04-05

3.0.x-dev → v4.0.02024-01-23

PHP version history (7 changes)1.3.0PHP &gt;=5.1.2

v2.0-rc1PHP ^5.6||^7.2

v3.0.0PHP ^7.2

v3.1.0PHP ^7.3||^8.0

v4.0.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

v4.1.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

v4.2.0PHP ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/571575?v=4)[scn](/maintainers/scn)[@scn](https://github.com/scn)

---

Top Contributors

[![kornelski](https://avatars.githubusercontent.com/u/72159?v=4)](https://github.com/kornelski "kornelski (568 commits)")[![usox](https://avatars.githubusercontent.com/u/5184763?v=4)](https://github.com/usox "usox (82 commits)")[![tanakahisateru](https://avatars.githubusercontent.com/u/403893?v=4)](https://github.com/tanakahisateru "tanakahisateru (24 commits)")[![ajcrites](https://avatars.githubusercontent.com/u/1308273?v=4)](https://github.com/ajcrites "ajcrites (17 commits)")[![schaechtelchen](https://avatars.githubusercontent.com/u/64836620?v=4)](https://github.com/schaechtelchen "schaechtelchen (16 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (14 commits)")[![Potherca](https://avatars.githubusercontent.com/u/195757?v=4)](https://github.com/Potherca "Potherca (6 commits)")[![REBELinBLUE](https://avatars.githubusercontent.com/u/2143908?v=4)](https://github.com/REBELinBLUE "REBELinBLUE (6 commits)")[![fier](https://avatars.githubusercontent.com/u/939431?v=4)](https://github.com/fier "fier (2 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (2 commits)")[![cwisefool](https://avatars.githubusercontent.com/u/1593994?v=4)](https://github.com/cwisefool "cwisefool (2 commits)")[![shivashanti](https://avatars.githubusercontent.com/u/1538603?v=4)](https://github.com/shivashanti "shivashanti (2 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")[![brammittendorff](https://avatars.githubusercontent.com/u/7221583?v=4)](https://github.com/brammittendorff "brammittendorff (1 commits)")

---

Tags

phpphptaltemplate-enginetemplatestemplate enginezopephptal

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/scn-phptal/health.svg)

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

###  Alternatives

[phptal/phptal

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

179421.6k19](/packages/phptal-phptal)[namesco/ztal

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

2119.9k](/packages/namesco-ztal)[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)[talesoft/tale-pug

A clean, lightweight and easy-to-use templating engine for PHP based on Pug, formerly Jade

319.4k3](/packages/talesoft-tale-pug)[wanze/template-engine-factory

Provides ProcessWire integration for various template engines such as Twig.

2612.0k4](/packages/wanze-template-engine-factory)

PHPackages © 2026

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