PHPackages                             contao-community-alliance/contao-twig - 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. contao-community-alliance/contao-twig

ActiveContao-module[Templating &amp; Views](/categories/templating)

contao-community-alliance/contao-twig
=====================================

Twig integration for Contao OpenSource CMS

1.12.1(9y ago)28.4k5[7 issues](https://github.com/contao-community-alliance/twig/issues)5LGPL-3.0+PHPPHP &gt;=5.3

Since Jun 17Pushed 9y ago4 watchersCompare

[ Source](https://github.com/contao-community-alliance/twig)[ Packagist](https://packagist.org/packages/contao-community-alliance/contao-twig)[ Docs](http://c-c-a.org)[ RSS](/packages/contao-community-alliance-contao-twig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (5)Used By (5)

Twig integration for Contao
===========================

[](#twig-integration-for-contao)

This module provide twig support for Contao. To use twig instead of the contao engine, just use the `TwigFrontendTemplate` or `TwigBackendTemplate` class.

For content elements, you can use the `TwigContentElement` class, and for modules the `TwigModule` class. These basic classes allready uses the Twig\*Template classes.

You have to suffix your templates with `.twig`, look at the examples in the `templates` directory.

Dependencies
------------

[](#dependencies)

- Twig

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~259 days

Total

3

Last Release

3463d ago

### Community

Maintainers

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

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

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

![](https://avatars.githubusercontent.com/u/8672569?v=4)[California College of Arts](/maintainers/cca)[@cca](https://github.com/cca)

---

Top Contributors

[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (70 commits)")[![discordier](https://avatars.githubusercontent.com/u/940331?v=4)](https://github.com/discordier "discordier (13 commits)")[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (4 commits)")[![backbone87](https://avatars.githubusercontent.com/u/1196313?v=4)](https://github.com/backbone87 "backbone87 (2 commits)")[![baumannsven](https://avatars.githubusercontent.com/u/2493263?v=4)](https://github.com/baumannsven "baumannsven (1 commits)")

---

Tags

twigtemplatecontaotheme

### Embed Badge

![Health badge](/badges/contao-community-alliance-contao-twig/health.svg)

```
[![Health](https://phpackages.com/badges/contao-community-alliance-contao-twig/health.svg)](https://phpackages.com/packages/contao-community-alliance-contao-twig)
```

###  Alternatives

[teepluss/theme

Theme will help you organize your themes inside Laravel projects easily and maintain its related assets, layouts and partials for the theme in single directory.

543174.1k8](/packages/teepluss-theme)[contao-themes-net/mate-theme-bundle

mate theme bundle for Contao 5

1219.2k1](/packages/contao-themes-net-mate-theme-bundle)

PHPackages © 2026

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