Download the PHP package laravel-at/laravel-image-sanitize without Composer
On this page you can find all versions of the php package laravel-at/laravel-image-sanitize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-at/laravel-image-sanitize
More information about laravel-at/laravel-image-sanitize
Files in laravel-at/laravel-image-sanitize
Package laravel-image-sanitize
Short Description A small but handy package to prevent malicious code execution coming into your application through uploaded image files.
License MIT
Homepage https://github.com/laravel-at/laravel-image-sanitize
Informations about the package laravel-image-sanitize
It prevents malicious code execution!
This is a small but handy package to prevent malicious code execution coming into your application through uploaded images. It was created after being inspired by @appelsiini's talk on How to Hack your Laravel Application
Installation
You can install the package via composer:
Usage
Register the ImageSanitizeMiddleware
in your App\Http\Kernel
class
Then, just use it in your Controller's constructor
Or use it in your routes/web.php
file
If you want to learn more about middlewares
, please check out the official Laravel documentation
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Adrian Nürnberger
- Mathias Onea
- Logo by Caneco
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-image-sanitize with dependencies
illuminate/support Version ^10.0|^11.0
intervention/image Version ^2.7|^3.4
illuminate/container Version ^10.0|^11.0
illuminate/contracts Version ^10.0|^11.0
ext-fileinfo Version *