Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Purify Laravel Package

stevebauman/purify

A Laravel wrapper for HTMLPurifier that sanitizes user input. Clean strings or arrays of HTML through a simple Purify facade, with publishable configuration, caching, and custom profiles for flexible, safe markup filtering.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
htmlawed/htmlawed 0.90 htmlawed/htmlawed is a PHP HTML sanitizer and validator that filters untrusted markup, balances tags, and restricts elements and attributes to help prevent XSS. It can clean user-submitted content, enforce custom HTML policies, and produce safer, well-formed output for web applications. 42 49 16 54K 9 3.2 45.0 GPL-2.0 —
View on GitHub
graham-campbell/security 0.87 A Laravel package from Graham Campbell that helps harden your app by adding configurable security headers to HTTP responses. It provides a simple middleware-based setup for common browser protections, making it easy to improve response security with minimal configuration. 0 255 — 8K — 0.3 54.2 — —
View on GitHub
vanilla/htmlawed 0.87 Laravel integration for HTMLawed, a PHP HTML sanitizer and validator. It cleans user-submitted markup, balances tags, filters unsafe attributes and elements, and helps preserve safe formatting in rich text. Useful for sanitizing comments, CMS content, and other untrusted HTML. 40 42 15 8K 3 1.8 32.5 NOASSERTION 3 years ago
View on GitHub
elegantweb/sanitizer 0.86 Laravel package that cleans and normalizes user input before validation. Define sanitizer classes with rule sets to trim strings, cast types, strip tags, and transform request data, keeping controllers lean and application data consistent. Extensible with custom filters. 115 — 15 — 0 10.1 — MIT 7 months ago
View on GitHub
ezyang/htmlpurifier 0.86 HTML Purifier is a PHP library that filters untrusted HTML using robust whitelists and aggressive parsing to prevent XSS attacks while ensuring standards-compliant output. Ideal for safely rendering rich, CSS-enabled documents from untrusted sources. 3,348 3,450 363 13M 104 66.3 82.2 LGPL-2.1 1 month ago
View on GitHub
Context7
ivanbaric/sanigen 0.85 Sanigen is a Laravel package for defining and generating reusable sanitizers that clean and normalize incoming request data before validation or persistence. It helps keep form and API input consistent, predictable, and safe with a simple, rule-based workflow. 0 — 0 — 0 15.4 — MIT 3 months ago
View on GitHub
fitztrev/laravel-html-minify 0.85 Laravel HTML Minify is middleware that automatically compresses HTML responses by removing extra whitespace, comments, and optional attributes, reducing page size and improving load times with simple installation and configuration. 411 423 43 36 10 6.4 4.3 MIT —
View on GitHub
rhukster/dom-sanitizer 0.85 A fast, MIT-licensed DOM, SVG, and MathML sanitizer for PHP 7.3+. It uses PHP DOMDocument to strip dangerous tags and attributes, borrowing DOMPurify’s extensive allowlists. Configurable options and tag/attribute controls included. 14 11 3 169K 0 24.5 64.8 MIT 1 week ago
View on GitHub
luketowers/purifier 0.85 A Laravel wrapper around HTMLPurifier that brings clean, secure HTML sanitization to your application. It offers a Purifier facade, Blade directive, service provider, and publishable config so you can safely filter user-supplied HTML and prevent XSS with minimal setup. 32 — 8 — 2 0.8 — MIT —
View on GitHub
larahook/purifier 0.85 Laravel wrapper for HTMLPurifier that cleans and sanitizes untrusted HTML before it reaches your views. Filter user-generated content through a simple, configurable API to strip XSS and other malicious markup while preserving safe formatting. 2 2 0 735 0 8.1 35.3 MIT 7 months ago
View on GitHub
masterro/laravel-xss-filter 0.85 A Laravel package for filtering XSS from user input. It offers configurable sanitization and middleware to clean request data, helping protect your application from cross-site scripting attacks with minimal setup. 41 41 6 7K 0 19.8 35.6 MIT 2 weeks ago
View on GitHub
phlib/xss-sanitizer 0.85 PHP library for sanitizing untrusted HTML and preventing XSS. It parses user-supplied markup, strips dangerous tags, attributes and URLs, and returns safe HTML for rendering in web applications. Configurable rules suit comments, rich text and other user-generated content. 16 — 3 — 1 0.3 — LGPL-3.0 2 years ago
tgalopin/html-sanitizer 0.85 tgalopin/html-sanitizer is a PHP library for cleaning untrusted HTML safely. It removes dangerous markup to prevent XSS while letting you configure allowed tags, attributes, and extensions, making it easy to display user-generated content securely. 386 — 40 — 20 4.8 6.0 MIT 4 years ago
typo3/html-sanitizer 0.85 A standalone PHP HTML sanitization component from TYPO3, usable in any PHP project. Declarative Behavior settings define allowed tags, attributes, and values; visitors modify or remove nodes; builders combine presets into ready-to-use Sanitizer instances for safe HTML output. 29 29 13 382K 6 24.6 63.1 MIT 4 months ago
View on GitHub
symfony/html-sanitizer 0.84 Symfony's HtmlSanitizer component offers an object-oriented API to clean untrusted HTML for safe DOM insertion. Configure allowed elements, attributes, link schemes, and URL forcing to strip scripts and dangerous markup. 284 283 13 4M 0 36.3 64.9 MIT 1 week ago
View on GitHub
Context7
graham-campbell/security-core 0.84 Core security utilities for Laravel, providing a lightweight foundation for sanitizing user input, escaping output, and defending against XSS. Powers the graham-campbell/security package and can be used standalone in any PHP or Laravel application. 0 31 — 16K — 0.3 55.3 — —
View on GitHub
stevebauman/hypertext 0.84 Hypertext is a Laravel package for building HTML with PHP objects. Define reusable components as classes, compose them with slots and attributes, and render clean markup without template files—an object-oriented alternative to Blade for dynamic UI. 171 — 6 — 1 1.1 — MIT 2 years ago
exercise/htmlpurifier-bundle 0.84 — 278 282 55 326K 2 11.9 42.8 NOASSERTION 11 months ago
View on GitHub
jeffersongoncalves/laravel-html-sanitizer 0.84 A Laravel package for sanitizing untrusted HTML before rendering. It helps remove dangerous tags and attributes to reduce XSS risks, with configurable rules for safely handling user-generated content in your applications. 1 1 0 511 0 19.9 39.0 MIT 1 week ago
View on GitHub
Context7
webpatser/laravel-sanitize 0.84 — 7 8 1 165 0 0.0 13.0 — —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
laravel2580/idehelpers
delatbabel/viewpages
anavel/gettext
muhamadrezaar/highcharts
delatbabel/keylists
frankkessler/salesforce-laravel-oauth2-rest
anavel/foundation
wdmtech/enviricons
eii/laravel-captcha
muka/shape-reader
tdt/json
refinery29/php-cs-fixer-config
hotmeteor/eco-env
mvaliolahi/hydrate
wearede/tbcpay-php
parsnick/steak
thibaud-dauce/mattermost-php
multilinguals/apollo-client
antaresbr/collection
kr0lik/phpstan-rules