PHPackages                             sulu/web-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. sulu/web-twig

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

sulu/web-twig
=============

The web twig extension for web-js component management

v2.6.0(1y ago)43281.9k↓62.7%7[4 issues](https://github.com/sulu/web-twig/issues)[1 PRs](https://github.com/sulu/web-twig/pulls)2MITPHPPHP ^7.1 || ^8.0CI failing

Since May 15Pushed 1y ago18 watchersCompare

[ Source](https://github.com/sulu/web-twig)[ Packagist](https://packagist.org/packages/sulu/web-twig)[ RSS](/packages/sulu-web-twig/feed)WikiDiscussions 2.6 Synced 2d ago

READMEChangelog (10)Dependencies (9)Versions (22)Used By (2)

Web Twig Extensions
===================

[](#web-twig-extensions)

Installation
------------

[](#installation)

```
composer require sulu/web-twig
```

Extensions
----------

[](#extensions)

### 1. Component

[](#1-component)

The [web component extension](docs/component.md) in connection with [web-js](https://github.com/sulu/web-js)gives you simple and efficient way to handle your javascript components over twig.

[More](docs/component.md)

### 2. Image

[](#2-image)

The [web image extension](docs/image.md) gives you a simple and efficient way to handle your image over twig.

[More](docs/image.md)

### 3. Intl

[](#3-intl)

The [web intl extension](docs/intl.md) gives you a simple and efficient way to get country, languages and locales in a specific language.

[More](docs/intl.md)

### 4. Count

[](#4-count)

The [web count extension](docs/count.md) gives you a simple and efficient way to have a global counter in your twig template.

[More](docs/count.md)

### 5. Url

[](#5-url)

The [web url extension](docs/url.md) gives you a simple and efficient way to get specific parts of urls.

[More](docs/url.md)

### 6. Editor

[](#6-editor)

The [web editor extension](docs/editor.md) gives you a simple way to add classes on html provided by a text editor.

[More](docs/editor.md)

### 7. Icon

[](#7-icon)

The [icon extension](docs/icon.md) gives you a simple way to render icomoon icons.

[More](docs/icon.md)

### 8. Portal

[](#8-portal)

The [portal extension](docs/portal.md) brings react portal feature to twig.

[More](docs/portal.md)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 76.1% 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 ~127 days

Recently: every ~199 days

Total

22

Last Release

667d ago

Major Versions

v1.5.0 → v2.0.02019-11-27

PHP version history (3 changes)v1.0.0PHP ~5.5 || ~7.0

v2.0.0PHP ^7.1

2.4.2PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dbafb2ec00aab7a9f476cf2dd77f63923acfda214ec7bf728c662a9e88f39c7?d=identicon)[chirimoya](/maintainers/chirimoya)

![](https://avatars.githubusercontent.com/u/1698337?v=4)[Alexander Schranz](/maintainers/alexander-schranz)[@alexander-schranz](https://github.com/alexander-schranz)

![](https://avatars.githubusercontent.com/u/25978473?v=4)[Prokyonn](/maintainers/Prokyonn)[@Prokyonn](https://github.com/Prokyonn)

---

Top Contributors

[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (35 commits)")[![luca-rath](https://avatars.githubusercontent.com/u/5758674?v=4)](https://github.com/luca-rath "luca-rath (3 commits)")[![Manours](https://avatars.githubusercontent.com/u/3274232?v=4)](https://github.com/Manours "Manours (2 commits)")[![dmetzler1988](https://avatars.githubusercontent.com/u/8446518?v=4)](https://github.com/dmetzler1988 "dmetzler1988 (1 commits)")[![c00n84](https://avatars.githubusercontent.com/u/841720?v=4)](https://github.com/c00n84 "c00n84 (1 commits)")[![chirimoya](https://avatars.githubusercontent.com/u/627313?v=4)](https://github.com/chirimoya "chirimoya (1 commits)")[![niklasnatter](https://avatars.githubusercontent.com/u/13310795?v=4)](https://github.com/niklasnatter "niklasnatter (1 commits)")[![Prokyonn](https://avatars.githubusercontent.com/u/25978473?v=4)](https://github.com/Prokyonn "Prokyonn (1 commits)")[![wachterjohannes](https://avatars.githubusercontent.com/u/1464615?v=4)](https://github.com/wachterjohannes "wachterjohannes (1 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sulu-web-twig/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

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

PHPackages © 2026

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