A Laravel trait for automatic image and file upload, resizing, and cropping with extensive customization options.
Laravel ImageUp is a PHP package that provides a trait for Laravel Eloquent models to automatically handle image and file uploads. It integrates with Intervention Image to offer resizing, cropping, and customization options, eliminating the need for manual upload logic in controllers.
Laravel developers building applications that require user uploads, such as social platforms, content management systems, or admin panels with media management.
It simplifies upload handling by leveraging Eloquent events, offers extensive per-field customization, and reduces repetitive code, making it a time-saving solution for Laravel projects.
Auto Image & file upload, resize and crop for Laravel eloquent model using Intervention image
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows defining upload behavior directly in Eloquent models with per-field options, reducing repetitive controller code and enabling quick setup.
Automatically uploads, resizes, and deletes images on model save events, eliminating manual boilerplate for common upload scenarios.
Supports class-based or callback hooks for custom image processing, seamlessly integrating with Laravel's IOC for extensibility.
Handles both images and non-image files with similar customization options, using Intervention Image for robust image manipulations.
Deep integration with Eloquent events makes upload logic inseparable from models, complicating testing and increasing model responsibility.
Auto-upload is enabled by default and can overwrite manual uploads if not managed carefully, as warned in the README, leading to potential data loss.
Image processing occurs synchronously during model save, which can degrade performance for large files or high-traffic applications without async options.