m4riachi / laravel-image-intervention
Get resized image from original image
dev-master
2021-11-24 10:59 UTC
Requires
- php: ^7.3|^8.0
- illuminate/support: ^8.0
- intervention/image: ^2.5
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-02-24 17:57:58 UTC
README
A simple helper who use Image Intervention to resize images
Installation
You can install the package via composer:
composer require m4riachi/laravel-image-intervention
Usage
//path from your laravel storage $imagePath = 'public/photo1.jpg'; LaravelImageIntervention::resize($imagePath, 300, 300, [ 'crop' => false, 'quality' => 90 ])
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email taoufiq.benmessaoud@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.