Download the PHP package le0daniel/laravel-image-engine without Composer
On this page you can find all versions of the php package le0daniel/laravel-image-engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download le0daniel/laravel-image-engine
More information about le0daniel/laravel-image-engine
Files in le0daniel/laravel-image-engine
Package laravel-image-engine
Short Description Integration of automatic image manipulation and serving
License MIT
Informations about the package laravel-image-engine
Laravel Image Engine
Powerful Image engine for Laravel. Don't waste your time, writing logic to resize and transform images.
Installation
After that, publish the configuration file using
Configuration
Configure the desired file sizes your application should provide in your configuration file.
Make sure all the required paths exist within your image-engine.php
configuration file.
Usage
The image engine is based on the ImageRepresentation
class.
This will generate an Image URL for you, which is signed. The image is only converted on demand, as soon as the first request is made to this url. The Image will be converted by Intervention Image to the specified format.
For better performance, the images are stored in the public folder. This enables nginx to serve the files once they have been generated. If the Image has an expirey date, the image is stored in the defined path from your config. In this case, php will serve the image, even tho it has been cached.
If you need a file for local processing (Ex: send in an email), simply use:
This will return the local path of the converted image for you.
All versions of laravel-image-engine with dependencies
laravel/framework Version ^7
intervention/image Version ^2.5
nesbot/carbon Version ^2.36
ext-json Version *