m4riachi/laravel-image-intervention

Get resized image from original image

dev-master 2021-11-24 10:59 UTC

This package is auto-updated.

Last update: 2025-02-24 17:57:58 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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.