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

ActiveLibrary

annon/think-twig
================

Twig Template For ThinkPHP

v3.0.9(1y ago)012BSD-3-ClausePHP

Since Jul 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wanganfu/think-twig)[ Packagist](https://packagist.org/packages/annon/think-twig)[ RSS](/packages/annon-think-twig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Twig Template For ThinkPHP6 and ThinkPHP8
=========================================

[](#twig-template-for-thinkphp6-and-thinkphp8)

安装
--

[](#安装)

```
composer require annon/think-twig

```

使用
--

[](#使用)

`config/view.php`文件，修改`type`为`Twig`，修改`view_suffix`为`twig`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

684d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49a467b16661ae3298d2fb2dbd1bd35b61657cefe85cac14816d2087554e3c7a?d=identicon)[wanganfu](/maintainers/wanganfu)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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