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

Svg Sanitize Laravel Package

enshrined/svg-sanitize

PHP SVG sanitizer based on DOMPurify that cleans untrusted SVG/XML, strips dangerous tags and remote references, supports custom whitelists, minification, and reports sanitization issues.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
robwdwd/svg-icon-bundle 0.87 robwdwd/svg-icon-bundle is a Symfony bundle for organizing and rendering SVG icons in Twig templates. It offers icon set management, caching, and simple helpers for embedding scalable, styleable SVG icons without external image requests, making icon usage consistent and fast. 0 5 — 0 — 0.0 — — —
View on GitHub
vierwd/svg-inliner 0.86 A Laravel package for inlining SVG images directly into your HTML, letting you style and animate them with CSS and control their colors. Useful for icons and illustrations where external image references would block styling. Lightweight and easy to integrate. 1 1 0 498 0 0.0 33.1 MIT 3 years ago
View on GitHub
contao/imagine-svg 0.86 Imagine-compatible SVG image library for PHP/Contao. Open, crop, resize, and apply common effects (gamma, grayscale, blur, etc.) to SVGs and save results. Includes SVG-aware sizing via SvgBox for absolute, aspect-ratio, or undefined dimensions. 86 86 8 124K 1 5.6 43.5 — 2 years ago
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
digifactory/laravel-svg-fixer-middleware 0.85 digifactory/laravel-svg-fixer-middleware is a lightweight Laravel middleware that corrects SVG HTTP responses, helping ensure SVG assets are served with the proper headers and render reliably across browsers. A simple drop-in fix for common SVG display issues in Laravel apps. 5 5 0 231 0 9.5 23.8 MIT 6 months ago
View on GitHub
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
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
lisowiecw/filament-media-library 0.85 Filament Media Library provides a ready-to-use media manager for Filament panels: upload, browse, search, and organize files, then attach media to Eloquent models. It simplifies handling images and documents in admin resources with an intuitive interface. 0 0 0 1 1 17.4 4.8 MIT 1 month ago
View on GitHub
tgalopin/html-sanitizer-bundle 0.85 Symfony bundle integrating the html-sanitizer library so you can define and configure HTML sanitizers as services, clean untrusted markup safely, and use customizable sanitizer profiles throughout your application. 85 — 10 — 2 1.5 0.4 MIT 4 years ago
View on GitHub
webpatser/laravel-sanitize 0.85 — 7 8 1 165 0 0.0 13.0 — —
View on GitHub
dmhendricks/file-icon-vectors 0.85 A PHP library that maps file extensions to crisp SVG icons, making it easy to display accurate file-type icons for documents, media, archives, and more. Includes multiple icon styles, simple helper methods, and Laravel support for quick integration. 381 — 78 — 14 8.4 4.9 MIT 8 years ago
smorken/sanitizer 0.85 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 — —
View on GitHub
xemlock/htmlpurifier-html5 0.85 HTML5 definitions and tidy/sanitization rules for HTML Purifier, aligned with the WHATWG spec. Purify and normalize dirty HTML5 into valid output with an HTML5-ready config, plus flexible directives (e.g., safely allow YouTube iframes). 106 106 15 92K 1 11.5 42.8 MIT 8 months ago
View on GitHub
graham-campbell/security 0.84 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
nothingworks/blade-svg 0.84 A Laravel package for inlining SVG files directly in Blade templates. Use the @svg directive to embed icons and graphics with custom attributes and classes, plus caching for performance. Manage and style SVGs with CSS without extra HTTP requests. 2,488 2,286 162 6K 0 30.5 8.3 MIT 4 months ago
View on GitHub
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
masterro/laravel-xss-filter 0.84 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
blade-ui-kit/blade-icons 0.84 Blade Icons lets you drop SVG icons into Laravel Blade views with a simple component or directive, like or @svg('camera', 'w-6 h-6'). It's a lightweight base package with many third-party icon set packages available. 2,488 2,493 161 7M 0 40.4 53.2 MIT 4 months ago
View on GitHub
atelier/svg 0.84 atelier/svg is a Laravel package for managing SVG assets. It provides a clean API for loading, sanitizing, caching, and rendering SVG files, so you can safely embed icons and images in Blade views with minimal boilerplate. 14 11 1 453 0 17.9 23.9 MIT 1 month ago
View on GitHub
laravel-at/laravel-image-sanitize 0.84 Laravel middleware that re-encodes uploaded images to strip hidden malicious payloads, reducing the risk of code execution. Requires PHP 8.3+, Laravel 12/13, and Intervention Image 4. 345 346 24 5K 0 23.3 19.3 MIT 2 months ago
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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log