mewebstudio/Purifier
HTMLPurifier for Laravel 5+ observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 86
- Release rhythm 47
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 415
- age_days: 4912
- days_rel: 140
- days_push: 87
- n_releases_24m: 2
Adoption not part of the score
1979 stars · 241 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel service provider that wraps the HTMLPurifier library for sanitizing HTML input. It provides a simple clean() helper and Purifier facade to strip malicious code like XSS while keeping HTML standards-compliant.
Use cases
- sanitize user-submitted HTML in Laravel
- prevent XSS from rich text editor input
- clean HTML before storing in database
- whitelist allowed HTML tags in user content
- purify WYSIWYG editor output in Laravel apps
When to choose
- you're building a Laravel app that accepts HTML from users
- you need a battle-tested, standards-compliant HTML sanitizer
- you want a simple facade/helper API over HTMLPurifier
When to avoid
- you're not using Laravel or PHP
- you only need to escape plain text (use built-in escaping instead)
- you need sanitization in JavaScript on the client side
Facets
library · maturity stable
security middleware templating web-development security backend php htmlpurifier xss-protection html-sanitization laravel-package input-cleaning laravel
1 source
- readme: https://github.com/mewebstudio/Purifier · fetched 2026-08-28 · d2f2b0f7c8ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mewebstudio/Purifier | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="mewebstudio/Purifier")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem