PHPackages                             nocturnal/easy-html-purifier - 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. nocturnal/easy-html-purifier

ActivePackage[Security](/categories/security)

nocturnal/easy-html-purifier
============================

A Laravel package to sanitize input using HTML Purifier

v1.0.8(2y ago)22.0kMITPHPPHP ^8.0

Since Jan 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/TheSaifZaman/easy-html-purifier)[ Packagist](https://packagist.org/packages/nocturnal/easy-html-purifier)[ Docs](https://github.com/TheSaifZaman/easy-html-purifier)[ RSS](/packages/nocturnal-easy-html-purifier/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

easy-html-purifier
==================

[](#easy-html-purifier)

A Laravel package to sanitize input using HTML Purifier

Require this package with composer:

```
composer require nocturnal/easy-html-purifier

```

Then publish config.

```
php artisan vendor:publish --provider="Nocturnal\EasyHtmlPurifier\EasyHtmlPurifierServiceProvider"

```

Then add the following keyword to app/Http/Kernel.php files:

```
protected $middlewareGroups = [
    'api' => [
       'easy-html-purifier'
    ],
];

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

9

Last Release

831d ago

### Community

Maintainers

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

---

Top Contributors

[![TheSaifZaman](https://avatars.githubusercontent.com/u/78786199?v=4)](https://github.com/TheSaifZaman "TheSaifZaman (13 commits)")

---

Tags

securityPurifierhtmlpurifierxssLaravel Securitylaravel HtmlPurifierLaravel Purifier

### Embed Badge

![Health badge](/badges/nocturnal-easy-html-purifier/health.svg)

```
[![Health](https://phpackages.com/badges/nocturnal-easy-html-purifier/health.svg)](https://phpackages.com/packages/nocturnal-easy-html-purifier)
```

###  Alternatives

[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[voku/anti-xss

anti xss-library

72317.1M77](/packages/voku-anti-xss)[luketowers/purifier

Laravel 5 HtmlPurifier Package

3280.0k9](/packages/luketowers-purifier)[xemlock/htmlpurifier-html5

HTML5 support for HTML Purifier

1052.9M11](/packages/xemlock-htmlpurifier-html5)[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

999465.8k2](/packages/akaunting-laravel-firewall)

PHPackages © 2026

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