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

Abandoned → [contao-community-alliance/contao-twig](/?search=contao-community-alliance%2Fcontao-twig)ArchivedContao-module[Templating &amp; Views](/categories/templating)

bit3/contao-twig
================

Twig integration for Contao OpenSource CMS

1.11(11y ago)08.7k7LGPL-3.0+PHPPHP &gt;=5.3

Since Mar 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/bit3archive/contao-twig)[ Packagist](https://packagist.org/packages/bit3/contao-twig)[ Docs](http://bit3.de)[ RSS](/packages/bit3-contao-twig/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (21)Used By (7)

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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~31 days

Total

19

Last Release

4254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e61f74ea186c1e79e072b2974ccdeef39414730476d5a8adac501eb9449b2a3?d=identicon)[tril](/maintainers/tril)

---

Top Contributors

[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (66 commits)")[![backbone87](https://avatars.githubusercontent.com/u/1196313?v=4)](https://github.com/backbone87 "backbone87 (2 commits)")

---

Tags

twigtemplatecontaotheme

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/bit3-contao-twig/health.svg)](https://phpackages.com/packages/bit3-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)
