Package Data | |
---|---|
Maintainer Username: | jilson-asis |
Maintainer Contact: | jilson.asis7@gmail.com (Jilson Asis) |
Package Create Date: | 2015-12-03 |
Package Last Update: | 2015-12-16 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:17:47 |
Package Statistics | |
---|---|
Total Downloads: | 34 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
PHP 5 image integration for laravel. makes automatically overwrites the image so you do not have to specify its new location.
First use the imageResizer class in your controller
use jilsonasis\ImageResizer\Facade as ImageResizer;
Then you can use method chaining.
$image_path = 'your_image_path';
$image_ext = 'your_image_extension'; // can only process jpg and png.
ImageResizer::src($image_path, $image_ext)->maxHeight(640)->maxWidth(800)->quality(80)->save();
No installation yet. I will change this when it is available
This laravel package is free. You can use and modify the code as you want without the author's permission