PHPackages                             dzango/twig-truncate-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. dzango/twig-truncate-extension

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

dzango/twig-truncate-extension
==============================

A Twig extension to truncate text while preserving HTML tags

1.1.0(8y ago)13238.9k↓35.6%2MITPHP &gt;=5.3.3

Since Sep 7Compare

[ Source](https://github.com/dzango/TwigTruncateExtension)[ Packagist](https://packagist.org/packages/dzango/twig-truncate-extension)[ Docs](https://github.com/dzango/TwigTruncateExtension)[ RSS](/packages/dzango-twig-truncate-extension/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (2)Versions (13)Used By (2)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/dzango/TwigTruncateExtension).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 69.8% 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 ~107 days

Recently: every ~295 days

Total

12

Last Release

3090d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61710b3e2bdf8cc378cb14f7e9c3d4fa753738373565270820a7be21c89f6d69?d=identicon)[opichon](/maintainers/opichon)

---

Top Contributors

[![opichon](https://avatars.githubusercontent.com/u/203745?v=4)](https://github.com/opichon "opichon (37 commits)")[![Tsubin](https://avatars.githubusercontent.com/u/14118546?v=4)](https://github.com/Tsubin "Tsubin (13 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (1 commits)")[![ogizanagi](https://avatars.githubusercontent.com/u/2211145?v=4)](https://github.com/ogizanagi "ogizanagi (1 commits)")[![tm57](https://avatars.githubusercontent.com/u/7309040?v=4)](https://github.com/tm57 "tm57 (1 commits)")

---

Tags

twigtruncate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dzango-twig-truncate-extension/health.svg)

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91492.0M315](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36763.2M221](/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

22046.0M133](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

22918.5M55](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21914.8M162](/packages/symfony-ux-twig-component)

PHPackages © 2026

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