PHPackages                             coduo/tutu-twig-extension - 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. coduo/tutu-twig-extension

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

coduo/tutu-twig-extension
=========================

Adds new features to TuTu twig templates engine.

1.0.0(9y ago)020.6k3MITCucumberPHP &gt;=5.5.0

Since Nov 20Pushed 9y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (7)Versions (2)Used By (3)

TuTu Twig extension
===================

[](#tutu-twig-extension)

This extensions adds new features to Twig

To use extension simply add it to TuTu composer dependencies:

```
$ composer require coduo/tutu-twig-extension

```

Enable extension in TuTu configuration

```
# config/config.yml

extensions:
    Coduo\TuTu\Extension\Twig: ~

```

From now you should be able to use following features in twig:

### Filters

[](#filters)

`json_decode` - decode json into array/object

**Arguments**

- $asArray - true
- $depth - 512

**Examples**

```
{% set user = request.content|json_decode %}
{
    "id": 1,
    "email": {{ user.name }}
}

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

3457d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52325810?v=4)[norbert-tech](/maintainers/norbert-tech)[@norbert-tech](https://github.com/norbert-tech)

---

Top Contributors

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

###  Code Quality

TestsBehat

### Embed Badge

![Health badge](/badges/coduo-tutu-twig-extension/health.svg)

```
[![Health](https://phpackages.com/badges/coduo-tutu-twig-extension/health.svg)](https://phpackages.com/packages/coduo-tutu-twig-extension)
```

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M313](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36663.2M218](/packages/twig-intl-extra)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[twig/string-extra

A Twig extension for Symfony String

21946.0M132](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

23018.5M53](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21814.8M161](/packages/symfony-ux-twig-component)

PHPackages © 2026

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