PHPackages                             jonathan-martz/lumen-middelware-xss - 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. [Security](/categories/security)
4. /
5. jonathan-martz/lumen-middelware-xss

ActiveLibrary[Security](/categories/security)

jonathan-martz/lumen-middelware-xss
===================================

Php Lumen Middelware Xss

0.1.1(6y ago)02278MITPHPPHP ^7.3|^7.4CI failing

Since Dec 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jonathan-martz/lumen-middelware-xss)[ Packagist](https://packagist.org/packages/jonathan-martz/lumen-middelware-xss)[ RSS](/packages/jonathan-martz-lumen-middelware-xss/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (6)Used By (8)

### Installations

[](#installations)

add to routes/web.php

```
$router->post('/user/todo/select', [
	'middleware' => 'xss',
	'uses' => 'TodoController@select'
]);
```

add to bootstrap/app.php

```
$app->middleware([
     App\Http\Middleware\Xss::class
]);

$app->routeMiddleware([
    'xss' => App\Http\Middleware\Xss::class,
]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~9 days

Total

2

Last Release

2322d ago

PHP version history (2 changes)0.1PHP ^7.1|^7.2|^7.3|^7.4

0.1.1PHP ^7.3|^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/763cd2b3e99d5733f50d7952449c1073ae44ccc35549876b82aba8f137f23c42?d=identicon)[jonathan-martz](/maintainers/jonathan-martz)

---

Top Contributors

[![jonathan-martz](https://avatars.githubusercontent.com/u/20771653?v=4)](https://github.com/jonathan-martz "jonathan-martz (9 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

### Embed Badge

![Health badge](/badges/jonathan-martz-lumen-middelware-xss/health.svg)

```
[![Health](https://phpackages.com/badges/jonathan-martz-lumen-middelware-xss/health.svg)](https://phpackages.com/packages/jonathan-martz-lumen-middelware-xss)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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