poznet/image
Simple Image procesing for Laravel 5
Wrapper for intervention/image
Bundle/Service created for simple dynamic image manipulation (resize for example). Stores manipulated images in cache for better performance.
###Requirments
- Laravel 5.0 + (this bundle is for Laravel5+ )
- intervention/image >= 2.3
###Installation
- Add to poznet/image your composer.json
composer require poznet/image:dev-master
- In config/app.php register service in providers (add "Poznet\Image\PoznetImageProvider" to providers)
providers' => [
/*
* Laravel Framework Service Providers...
*/
...
'Poznet\Image\PoznetImageProvider',
],
###Usage All paths is relative to /storage/app/ and it's get by Storage Facade (local), so it can be easily change to ftp/scp/Amazon/Dropbox etc.
- Resized image in Blade view to get resized image with widh of 450px use code below. Output is cached for 60 minutes with Cache Facade.
<img src="{{route('imagemin', ['width'=>'450','path'=>'logo.jpg'])}}">
Licence
Intervention Imagecache Class is licensed under the MIT License. Feel free to contribute.
Related Packages
Image manipulation library Lumen Framework based on Imagine and inspired by Crop...
Библиотека преображения изображений Imgso для Laravel 5, основанная на библиотек...
Image manipulation library for Laravel 5 based on Imagine and inspired by Croppa...
Image manipulation library for Laravel 4 based on Imagine and inspired by Croppa...
