Download the PHP package melsaka/laravel-image-manager without Composer
On this page you can find all versions of the php package melsaka/laravel-image-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download melsaka/laravel-image-manager
More information about melsaka/laravel-image-manager
Files in melsaka/laravel-image-manager
Download melsaka/laravel-image-manager
More information about melsaka/laravel-image-manager
Files in melsaka/laravel-image-manager
Vendor melsaka
Package laravel-image-manager
Short Description A Laravel package for managing polymorphic images with automatic resizing and storage management
License MIT
Package laravel-image-manager
Short Description A Laravel package for managing polymorphic images with automatic resizing and storage management
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-image-manager
Laravel Image Manager Package
A comprehensive Laravel package for managing polymorphic images with automatic resizing, multiple formats support, and flexible storage options.
Features
- Polymorphic Image Relations: Associate images with any Eloquent model
- Automatic Image Resizing: Configure multiple sizes for different use cases
- Format Conversion: Convert images to WebP, JPEG, PNG, or keep original format
- Flexible Storage: Support for any Laravel filesystem disk
- Batch Operations: Store, update, sync, and delete multiple images
- Easy Configuration: Simple configuration for different models and image types
Installation
Install the package via Composer:
Publish the configuration file:
Configuration
The configuration file config/image-manager.php
allows you to customize:
- Storage disk and base path
- Default image format and quality
- Model-specific image types and sizes
- Public/private access settings
Example Configuration
Usage
1. Add the Trait to Your Model
2. Store Images
3. Retrieve Images
4. Delete Images
5. Advanced Operations
6. Eager Load Images
Image Resize Modes
- cover: Resize and crop to exact dimensions (recommended for thumbnails)
- scale: Scale proportionally maintaining aspect ratio
- resize: Resize to exact dimensions (may distort the image)
Environment Variables
You can override configuration values using environment variables:
Requirements
- PHP ^8.2
- Laravel ^11.0 or ^12.0
- Intervention Image ^3.0
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-image-manager with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
illuminate/support Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
intervention/image Version ^3.0
illuminate/support Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
intervention/image Version ^3.0
The package melsaka/laravel-image-manager contains the following files
Loading the files please wait ....