PHPackages                             kint-php/kint-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. kint-php/kint-twig

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

kint-php/kint-twig
==================

Twig extension for Kint integration

6.0(1y ago)131.2M↓42.6%16GPL-3.0PHPPHP &gt;=7.4CI passing

Since Jun 16Pushed 1y ago2 watchersCompare

[ Source](https://github.com/kint-php/kint-twig)[ Packagist](https://packagist.org/packages/kint-php/kint-twig)[ Docs](https://kint-php.github.io/kint/)[ RSS](/packages/kint-php-kint-twig/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (5)Versions (14)Used By (6)

Kint-Twig
=========

[](#kint-twig)

A Twig extension providing the familiar Kint functionality for dumping data.

Note that features like the mini-trace, variable name detection, and modifiers will not work from inside twig templates.

Usage
-----

[](#usage)

```
$twig->addExtension(new Kint\Twig\TwigExtension());
```

```
{{ d(data, richMode, moreData, evenMoreData) }}

{{ s(data, plainMode) }}
```

Custom function names dumpers:

```
$ext = new Kint\Twig\TwigExtension();

$aliases = $ext->getAliases();

// Different alias for existing dumper
$aliases['dump'] = $aliases['d'];

// Custom dumper
$text = new Kint\Kint(new Kint\Parser\Parser(), new Kint\Renderer\TextRenderer());
$text->setStatesFromStatics(Kint\Kint::getStatics());

$aliases['text'] = $text;

$ext->setAliases($aliases);

$twig->addExtension($ext);
```

```
{{ dump() }}
{{ text() }}
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity70

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

Recently: every ~561 days

Total

13

Last Release

636d ago

Major Versions

1.1.2 → 2.02018-09-29

1.x-dev → 3.02020-07-03

3.0 → 4.02022-02-10

4.0 → 5.02022-11-22

5.0 → 6.02024-11-20

PHP version history (5 changes)1.1.2PHP ^5.3 || ^7.0

2.0PHP &gt;= 5.3.9

3.0PHP &gt;= 7.0

5.0PHP &gt;=7.1

6.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9b630b608f15e965f261330c4afc9aeaebc01f57300a83c1082164387f95bfd?d=identicon)[JnvSor](/maintainers/JnvSor)

---

Top Contributors

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

---

Tags

debugdevdeveloper-toolskintphptwigtwigdebugdump

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kint-php-kint-twig/health.svg)

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

###  Alternatives

[symfony/ux-twig-component

Twig components for Symfony

22020.2M440](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1657.5M153](/packages/symfony-ux-live-component)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

16164.9k1](/packages/symfony-ux-toolkit)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

273.1k](/packages/mati365-ckeditor5-symfony)

PHPackages © 2026

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