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 3w ago

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 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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

978d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9532377?v=4)[baileyherbert](/maintainers/baileyherbert)[@baileyherbert](https://github.com/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.7k465.7M7.1k](/packages/twig-twig)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[symfony/form

Allows to easily create, process and reuse HTML forms

2.8k162.1M3.4k](/packages/symfony-form)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.7k](/packages/symfony-http-kernel)[mustache/mustache

A Mustache implementation in PHP.

3.3k47.6M321](/packages/mustache-mustache)[smarty/smarty

Smarty - the compiling PHP template engine

2.4k41.8M455](/packages/smarty-smarty)

PHPackages © 2026

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