gingerminds / laravel-media-manager
Media Manager functionalities for Laravel projects
Package info
github.com/gingerminds/laravel-media-manager
pkg:composer/gingerminds/laravel-media-manager
6.0.3
2026-07-09 15:13 UTC
Requires
- php: ^8.4
- ext-zip: *
- gingerminds/laravel-core: ^3.0
- league/glide: ^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- larastan/larastan: ^3.8
- orchestra/testbench: ^10.0
- phpdocumentor/type-resolver: ^1.8
- phpstan/phpstan: ^2.0
- rector/rector: ^2.0
- squizlabs/php_codesniffer: ^3.0
README
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.
Requirements
- PHP ^8.4
gingerminds/laravel-core^2.8- The
zipPHP extension
Quick start
composer require gingerminds/laravel-media-manager php artisan vendor:publish --tag=gingerminds-media-manager-config php artisan vendor:publish --tag=gingerminds-assets php artisan migrate
Then register the package's models with API Platform (see Installation) and wire the published JS/SCSS into your own build.
Documentation
- 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