mewebstudio/Purifier
Some data may be outdated — see provenance labels.
HTMLPurifier for Laravel 5+ observed · 2026-09-21
Health v2 · maintenance only
69/100
- Activity 78
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 415
- age_days: 4960
- days_rel: 188
- days_push: 135
- n_releases_24m: 2
Adoption not part of the score
1982 stars · 241 forks observed · 2026-09-21
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-09-21 · d2f2b0f7c8ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mewebstudio/Purifier | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="mewebstudio/Purifier")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem