PHPackages                             yunwuxin/think-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. yunwuxin/think-twig

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

yunwuxin/think-twig
===================

Twig Template For ThinkPHP5

v3.0.9(1y ago)212.4k↓83.3%8[2 issues](https://github.com/yunwuxin/think-twig/issues)[2 PRs](https://github.com/yunwuxin/think-twig/pulls)2BSD-3-ClausePHPCI failing

Since Jan 2Pushed 1y ago5 watchersCompare

[ Source](https://github.com/yunwuxin/think-twig)[ Packagist](https://packagist.org/packages/yunwuxin/think-twig)[ RSS](/packages/yunwuxin-think-twig/feed)WikiDiscussions 3.0 Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (29)Used By (2)

Twig Template For ThinkPHP5
===========================

[](#twig-template-for-thinkphp5)

安装
--

[](#安装)

```
composer require yunwuxin/think-twig

```

使用
--

[](#使用)

配置文件里 `template.type=Twig` 即可

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity74

Established project with proven stability

 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 ~119 days

Recently: every ~253 days

Total

28

Last Release

615d ago

Major Versions

0.1 → 1.0.02016-05-04

v1.0.8 → v2.0.02018-05-09

v1.1.1 → v3.0.02019-03-25

v1.1.2 → v3.0.12019-09-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/7422243107bba2d58c5682b69d1c405e66fa027df2f6202afc1bb0c55559a7b1?d=identicon)[yunwuxin](/maintainers/yunwuxin)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yunwuxin-think-twig/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)

PHPackages © 2026

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