PHPackages                             alkhwlani/xss-middleware - 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. [Framework](/categories/framework)
4. /
5. alkhwlani/xss-middleware

ActiveLibrary[Framework](/categories/framework)

alkhwlani/xss-middleware
========================

A Laravel 5.5+ Middleware to filter user inputs from XSS and iframes and other embed elements.

4.0.0(3y ago)5517.4k↓31.6%MIT

Since Feb 23Compare

[ Source](https://github.com/salkhwlani/laravel-xss-middlware)[ Packagist](https://packagist.org/packages/alkhwlani/xss-middleware)[ RSS](/packages/alkhwlani-xss-middleware/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (6)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/salkhwlani/laravel-xss-middlware).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity65

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

Recently: every ~163 days

Total

8

Last Release

1150d ago

Major Versions

1.0.2 → 2.0.02021-06-10

2.0.1 → 3.0.02023-01-01

3.0.1 → 4.0.02023-03-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/60036767b6c53b6c4266f7b46348b93b505cf278203df5d7c06d5f7661d1fcc3?d=identicon)[salahalkhwlani](/maintainers/salahalkhwlani)

---

Tags

middlewareframeworklaravelsecurityxssLaravel Securityfilter input

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alkhwlani-xss-middleware/health.svg)

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

###  Alternatives

[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27431.5k](/packages/rahulalam31-laravel-abuse-ip)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)

PHPackages © 2026

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