PHPackages                             timmit/xss-filter - 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. [Search &amp; Filtering](/categories/search)
4. /
5. timmit/xss-filter

ActiveLibrary[Search &amp; Filtering](/categories/search)

timmit/xss-filter
=================

basic XSS Filter, based on symfony xss filter

v3.1.2(5mo ago)01.4k↓50%MIT

Since May 19Compare

[ Source](https://git.timmit.nl/timmit/xss-filter.git)[ Packagist](https://packagist.org/packages/timmit/xss-filter)[ RSS](/packages/timmit-xss-filter/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (4)Versions (13)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://git.timmit.nl/timmit/xss-filter.git).

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance70

Regular maintenance activity

Popularity20

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity70

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

Recently: every ~331 days

Total

10

Last Release

171d ago

Major Versions

v1.1.1 → 2.x-dev2020-07-23

v2.0 → v3.0.32022-04-14

### Community

Maintainers

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

---

Tags

filterxss

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/timmit-xss-filter/health.svg)

```
[![Health](https://phpackages.com/badges/timmit-xss-filter/health.svg)](https://phpackages.com/packages/timmit-xss-filter)
```

###  Alternatives

[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k261.7M7](/packages/clue-stream-filter)[laminas/laminas-filter

Programmatically filter and normalize data and files

9428.0M150](/packages/laminas-laminas-filter)[htmlawed/htmlawed

Official htmLawed PHP library for HTML filtering

401.1M9](/packages/htmlawed-htmlawed)[soosyze/kses

An HTML/XHTML filter written in PHP. Checks on attribute values. Can be used to avoid Cross-Site Scripting (XSS), Buffer Overflows and Denial of Service attacks, among other things.

1258.5k1](/packages/soosyze-kses)[lincanbin/white-html-filter

A lightweight php-based HTML tag and attribute whitelist filter.

1215.1k1](/packages/lincanbin-white-html-filter)

PHPackages © 2026

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