PHPackages                             baileyherbert/twig-compat - 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. baileyherbert/twig-compat

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

baileyherbert/twig-compat
=========================

Twig, the flexible, fast, and secure template language for PHP

v1.41.4(2y ago)02161BSD-3-ClausePHPPHP &gt;=5.4.0

Since Nov 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/baileyherbert/twig-compat)[ Packagist](https://packagist.org/packages/baileyherbert/twig-compat)[ Docs](https://twig.symfony.com)[ RSS](/packages/baileyherbert-twig-compat/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (1)

Twig, the flexible, fast, and secure template language for PHP
==============================================================

[](#twig-the-flexible-fast-and-secure-template-language-for-php)

Twig is a template language for PHP, released under the new BSD license (code and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

More Information
----------------

[](#more-information)

Read the [documentation](https://twig.symfony.com/documentation) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~239 days

Total

4

Last Release

925d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a7dd89af5b11bc58d0293d134214529281487ec07f08df879a625e95c4973e2?d=identicon)[baileyherbert](/maintainers/baileyherbert)

---

Top Contributors

[![baileyherbert](https://avatars.githubusercontent.com/u/9532377?v=4)](https://github.com/baileyherbert "baileyherbert (4 commits)")

---

Tags

templating

### Embed Badge

![Health badge](/badges/baileyherbert-twig-compat/health.svg)

```
[![Health](https://phpackages.com/badges/baileyherbert-twig-compat/health.svg)](https://phpackages.com/packages/baileyherbert-twig-compat)
```

###  Alternatives

[twig/twig

Twig, the flexible, fast, and secure template language for PHP

8.4k443.2M5.8k](/packages/twig-twig)[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[smarty/smarty

Smarty - the compiling PHP template engine

2.3k39.1M394](/packages/smarty-smarty)[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.4M108](/packages/timber-timber)[league/plates

Plates, the native PHP template system that's fast, easy to use and easy to extend.

1.5k5.9M230](/packages/league-plates)[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)

PHPackages © 2026

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