Media library, file uploads, and image processing for Laravel projects built on gingerminds/laravel-core. It provides:
- Admin CRUD screens for a media library organized into categories.
- Two reusable Blade components: a file-upload field (with a drag-and-drop modal) and a media picker.
- On-the-fly image resizing via Glide, with configurable named presets.
- API Platform endpoints for media, media categories, and files.
- An optional shopping-basket feature for collecting media items and downloading them together as a ZIP.
- PHP ^8.4
gingerminds/laravel-core^4.6- The
zipPHP extension
composer require gingerminds/laravel-media-manager
php artisan vendor:publish --tag=gingerminds-media-manager-config
php artisan vendor:publish --tag=gingerminds-assets
php artisan migrateThen register the package's models with API Platform (see Installation) and wire the published JS/SCSS into your own build.
- Installation
- Configuration
- Components — the file upload and media-select Blade components
- Services —
FileUploadService,ImageProcessor,GlideCacheService,MediaCollectionSyncer - API — admin routes and API Platform endpoints
- Basket — the media basket / ZIP download feature