PHPackages                             voku/anti-xss-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. voku/anti-xss-twig

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

voku/anti-xss-twig
==================

Twig extension for XSS protection.

3.0.1(7y ago)126.1k[2 PRs](https://github.com/voku/anti-xss-twig/pulls)MITPHP &gt;=7.0.0

Since Mar 22Compare

[ Source](https://github.com/voku/anti-xss-twig)[ Packagist](https://packagist.org/packages/voku/anti-xss-twig)[ RSS](/packages/voku-anti-xss-twig/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (3)Versions (9)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/voku/anti-xss-twig).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

5

Last Release

2754d ago

Major Versions

1.0.0 → 2.0.02017-11-19

2.0.1 → 3.0.02017-12-23

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6456fe693db197c458272cb758bf78958bc7d3e787ccd59db4bf3cf41654316a?d=identicon)[voku](/maintainers/voku)

---

Tags

twigsecurityhtmlextensionxss

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/voku-anti-xss-twig/health.svg)

```
[![Health](https://phpackages.com/badges/voku-anti-xss-twig/health.svg)](https://phpackages.com/packages/voku-anti-xss-twig)
```

###  Alternatives

[latte/latte

☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites. Introduces context-sensitive escaping.

1.3k15.7M683](/packages/latte-latte)[twig/string-extra

A Twig extension for Symfony String

21946.0M133](/packages/twig-string-extra)[twig/markdown-extra

A Twig extension for Markdown

12114.3M83](/packages/twig-markdown-extra)[twig/html-extra

A Twig extension for HTML

777.6M41](/packages/twig-html-extra)[nochso/html-compress-twig

Twig extension for compressing HTML and inline CSS/Javascript

84468.6k8](/packages/nochso-html-compress-twig)[voku/html-compress-twig

Twig extension for compressing HTML

252.3M](/packages/voku-html-compress-twig)

PHPackages © 2026

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