voku/anti-xss
AntiXSS is a lightweight PHP library for filtering malicious input and preventing cross-site scripting attacks. It cleans user-supplied strings and arrays, with support for custom sanitizing, making it a simple drop-in defense for web forms and input handling.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| voku/arrayy | 0.86 | — | 489 | 492 | 33 | 99K | 3 | 4.4 | 33.3 | MIT | — | |
| elegantweb/sanitizer | 0.85 | 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 | |
| webpatser/laravel-sanitize | 0.84 | — | 7 | 8 | 1 | 165 | 0 | 0.0 | 13.0 | — | — | |
| stevebauman/purify | 0.84 | A Laravel wrapper for HTMLPurifier that sanitizes user input. Clean strings or arrays via Purify::clean(), define allowed HTML in the publishable config, and cache parsed definitions for performance. Supports PHP 7.4+ and Laravel 7+. | 537 | 540 | 38 | 523K | 0 | 20.5 | 44.0 | MIT | 7 months ago | |
| voku/stringy | 0.84 | voku/stringy is a PHP string manipulation library with a fluent, chainable API and multibyte/Unicode-safe helpers. It offers common text utilities like trimming, casing, slugging, replacing, and comparisons, aiming for predictable results across encodings. | 180 | 187 | 24 | 57K | 1 | 1.9 | 34.9 | MIT | — | |
| larahook/purifier | 0.83 | 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 | |
| smorken/sanitizer | 0.83 | Sanitizer for Laravel and PHP applications that cleans untrusted input and output, stripping unsafe HTML and helping prevent XSS. Configurable filters make it easy to define allowed tags and attributes for safe, consistent data handling. | 0 | 0 | — | 400 | — | 0.0 | 36.0 | — | — | |
| voku/urlify | 0.83 | PHP URL slugifier/transliterator (URLify.js port) that converts UTF-8 strings into readable, URL-safe slugs and filenames. Supports many languages via mapping tables with Portable ASCII fallback, plus helpers like downcode/transliterate and custom char rules. | 25 | 27 | 5 | 57K | 1 | 0.8 | 47.2 | BSD-3-Clause | — | |
| htmlawed/htmlawed | 0.83 | 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 | — | |
| aimeos/sanitizer | 0.83 | Laravel package providing data sanitization helpers: clean and normalize input, strip unwanted characters/tags, and validate common formats. Useful for securing request data and preparing values for storage, APIs, and user-facing output. | 218 | 184 | 0 | 3K | 0 | 1.1 | 15.9 | LGPL-2.1 | — | |
| symfony/html-sanitizer | 0.83 | 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 | |
| masterro/laravel-xss-filter | 0.83 | 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 | |
| alkhwlani/xss-middleware | 0.83 | Laravel middleware that sanitizes incoming request data to help prevent XSS attacks. It filters user input and removes malicious HTML/scripts, adding a simple protection layer to your app without changing your existing validation flow. | 5 | 5 | 3 | 3K | 0 | 11.6 | 41.9 | MIT | 5 months ago | |
| graham-campbell/security-core | 0.83 | 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 | — | — | |
| wrklst/docxmustache | 0.83 | wrklst/docxmustache generates Word .docx files from templates using Mustache-style placeholders. Fill variables and sections to create dynamic invoices, reports, contracts, and letters from PHP or Laravel without manual formatting. Simple, lightweight DOCX templating. | 58 | 58 | 20 | 794 | 2 | 8.1 | 16.9 | MIT | 8 months ago | |
| voku/portable-ascii | 0.83 | PHP 7+ library to transliterate Unicode to portable ASCII for slugs, URLs, and safe filenames. Works without mbstring/iconv, lightweight and easy to bundle. Based on Unidecode/Stringy-style mappings with handy helper methods. | 580 | 580 | 51 | 13M | 22 | 12.1 | 65.7 | MIT | — | |
| graham-campbell/security | 0.83 | 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 | — | — | |
| voku/simple_html_dom | 0.82 | voku/simple_html_dom is a fast PHP HTML DOM parser and jQuery-style selector library. It wraps DOMDocument and Symfony CssSelector to find, extract, and manipulate HTML with UTF-8 and partial invalid-HTML support. Requires PHP 7.1+. | 901 | 917 | 107 | 308K | 1 | 8.5 | 37.3 | MIT | — | |
| voku/portable-utf8 | 0.82 | High-performance UTF-8 helper library for PHP with portable polyfills for mbstring and intl features. Provides fast string operations, validation, normalization, encoding fixes, and safe text handling across environments without extra extensions. | 518 | 523 | 89 | 513K | 8 | 7.8 | 44.4 | Apache-2.0 | — | |
| voku/email-check | 0.82 | Validates email addresses in PHP with multiple checks (syntax, DNS/MX, disposable domains and more) to reduce bounces and fake signups. Lightweight library with simple API, suitable for signup forms, user imports, and email hygiene workflows. | 52 | 54 | 14 | 54K | 1 | 1.1 | 42.0 | MIT | — |
How can I help you explore Laravel packages today?