PHPackages                             alancrisp/zf2twig - 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. alancrisp/zf2twig

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

alancrisp/zf2twig
=================

Integrates Twig template engine into Zend Framework 2.

3721[1 issues](https://github.com/alancrisp/ZF2Twig/issues)[1 PRs](https://github.com/alancrisp/ZF2Twig/pulls)PHP

Since Feb 23Pushed 13y ago1 watchersCompare

[ Source](https://github.com/alancrisp/ZF2Twig)[ Packagist](https://packagist.org/packages/alancrisp/zf2twig)[ RSS](/packages/alancrisp-zf2twig/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

ZF2Twig
=======

[](#zf2twig)

Integrates Twig template engine into Zend Framework 2.

Installation
------------

[](#installation)

Enable ZF2Twig in config/application.config.php to begin using.

Configuration
-------------

[](#configuration)

All configuration for ZF2Twig resides within the `zf2twig` configuration key.

```
'zf2twig' => array(
    'default_suffix' => 'twig', // default suffix for twig template files
    'environment_options' => array(
        // any ordinary twig configuration
        'cache' => '/path/to/compilation_cache',
    ),
    'extensions' => array(
        // extension classes, loaded from service manager
    ),
),
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.8% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/469196?v=4)[Alan Crisp](/maintainers/alancrisp)[@alancrisp](https://github.com/alancrisp)

---

Top Contributors

[![alancrisp](https://avatars.githubusercontent.com/u/469196?v=4)](https://github.com/alancrisp "alancrisp (24 commits)")[![rhysr](https://avatars.githubusercontent.com/u/906076?v=4)](https://github.com/rhysr "rhysr (5 commits)")

### Embed Badge

![Health badge](/badges/alancrisp-zf2twig/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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