laravel-at/laravel-image-sanitize
Laravel package to sanitize images on upload by stripping EXIF/metadata, normalizing orientation, and re-encoding to safer formats. Helps reduce privacy leaks and potential payloads while keeping image quality and integrating cleanly with Laravel apps.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rhukster/dom-sanitizer | 0.83 | MIT-licensed PHP 7.3+ DOM/SVG/MathML sanitizer using DOMDocument and DOMPurify-based allowlists. Remove dangerous tags/attributes, strip namespaces and PHP/HTML/XML tags, and optionally compress output. Supports HTML, SVG, and MathML modes. | 11 | 11 | 4 | 169K | 0 | 18.9 | 62.6 | MIT | 3 months ago | |
| axn/laravel-glide | 0.83 | — | 10 | 10 | 7 | 482 | 0 | 25.9 | 28.9 | MIT | 2 weeks ago | |
| joomla/filter | 0.83 | joomla/filter provides input and output filtering tools for PHP apps, helping sanitize content by allowing or blocking specific HTML tags and attributes. Includes OutputFilter helpers (e.g., URL-safe strings; optional Joomla\Language). | 15 | 16 | 24 | 44K | 3 | 24.5 | 56.6 | GPL-2.0 | 2 months ago | |
| duguncom/imagebundle | 0.82 | — | 0 | 0 | 1 | 0 | 0 | 1.5 | — | — | 8 years ago | |
| fossar/htmlawed | 0.82 | Fork of kesar/HTMLawed maintained by selfoss and wallabag. A single-file (~45KB) PHP HTML filter/sanitizer that secures and tidies user input, making it standards-compliant for HTML/XHTML/XML, with extensive customization options. | 2 | 2 | 2 | 6K | 0 | 22.1 | 53.9 | GPL-2.0 | 4 weeks ago | |
| webpatser/laravel-sanitize | 0.81 | — | 7 | 8 | 2 | 142 | 0 | 0.0 | 12.9 | — | — | |
| intervention/image-laravel | 0.80 | Laravel integration for Intervention Image. Adds a service provider, facade, and publishable config so you can set a global GD or Imagick driver once and use it throughout your app. Supports Laravel 8+. | 158 | 161 | 16 | 918K | 2 | 26.1 | 60.8 | MIT | 2 weeks ago | |
| comsave/common | 0.80 | Shared common utilities for Laravel/PHP projects by Comsave. Provides reusable helpers and foundational components to reduce duplication across apps and packages, keeping shared logic centralized and easy to maintain. | 2 | 2 | 1 | 1K | 0 | 2.4 | 35.3 | MIT | 6 years ago | |
| enshrined/svg-sanitize | 0.80 | PHP SVG/XML sanitizer inspired by DOMPurify. Clean untrusted SVGs with a simple sanitize() call, optional custom tag/attribute whitelists, remote reference stripping to prevent leaks, issue reporting, and output minification. Returns clean XML or false on parse errors. | 545 | 550 | 68 | 1M | 17 | 12.2 | 55.2 | GPL-2.0 | 11 months ago | |
| sajadsdi/laravel-file-management-image | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 1.2 | — | — | 2 years ago | |
| claviska/simpleimage | 0.78 | SimpleImage is a lightweight PHP 8+ GD image manipulation class. Load images from files/strings/URIs, auto-orient via EXIF, resize/crop/overlay/watermark, draw shapes/text, apply filters, and convert between GIF/JPEG/PNG/WEBP/BMP/AVIF. Chainable, exception-based. | 1,388 | 1,394 | 378 | 48K | 18 | 39.1 | 28.5 | MIT | 8 months ago | |
| spatie/laravel-image-optimizer | 0.78 | Laravel integration for spatie/image-optimizer. Optimize PNG, JPG, SVG, and GIF files by running them through available system binaries. Use the ImageOptimizer facade, resolve an OptimizerChain from the container, or apply middleware to optimize uploads automatically. | 1,308 | 1,314 | 116 | 223K | 0 | 29.6 | 34.0 | MIT | 5 months ago | |
| dev-farm/files-uploader-bundle | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.2 | — | MIT | — | |
| nnjeim/fetch | 0.78 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 4 years ago | |
| qcod/laravel-imageup | 0.77 | — | 770 | 773 | 62 | 3K | 5 | 12.1 | 12.0 | MIT | 1 year ago | |
| aferrandini/image-bundle | 0.77 | Laravel bundle for handling images: upload, resize, crop, cache and optimize with a simple configuration-driven workflow. Includes storage integration and helper utilities for generating thumbnails and responsive variants in your app. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 10 years ago | |
| hozien/laravel-awesome-uploader | 0.77 | Production-ready, pluggable file uploader for Laravel with Blade/React/Vue components. Supports any file type, disk storage (local/S3), JSON API responses, optional DB records + soft deletes, policies/guest uploads, hash deduplication, thumbnails, image processing, and cleanup tools. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| gregwar/image | 0.77 | — | 1,012 | 1,037 | 190 | 27K | 59 | 29.0 | 46.2 | MIT | — | |
| creative-web-solution/imagine-bundle | 0.77 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| akuma/coen-uploader-bundle | 0.77 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — |
How can I help you explore Laravel packages today?