mlbrgn / laravel-medialibrary-extensions
Extensions designed for use with the Media Library package by Spatie. Adds a single image uploader, multiple image uploader and a modal with carousel
v0.0.5
2025-06-10 10:57 UTC
Requires
- php: ^8.0
- blade-ui-kit/blade-icons: ^1.8
- illuminate/support: ^12.13
- spatie/laravel-medialibrary: ^11.12
Requires (Dev)
- barryvdh/laravel-ide-helper: ^3.5
- larastan/larastan: ^3.4
- laravel/pint: ^1.22
- orchestra/testbench: ^10.2
- orchestra/testbench-browser-kit: ^10.1
- pestphp/pest: ^3.8
- pestphp/pest-plugin-drift: ^3.0
- pestphp/pest-plugin-type-coverage: ^3.5
- spatie/laravel-translatable: ^6.11
- symfony/dom-crawler: ^7.2
Suggests
- blade-ui-kit/blade-bootstrap-icons: Optional: Bootstrap icons for use in Blade components
- blade-ui-kit/blade-heroicons: Optional: SVG icons from Heroicons
README
This package adds functionality toMedia Library package by Spatie:
- Providing a view to upload multiple media
- Providing a view to upload single media
Requirements
This package assumes that spatie/laravel-medialibrary is installed and its default migration has been run to create the media table.
Theme
The default themes are:
- plain
- bootstrap-5
Publishing
Several resources can be published:
- config
- views
Icons
For icons to work, you will have to install a Blade UIKit/Blade-icons package.
The package is configured to use Bootstrap icons by default. To display them properly install
composer require davidhsianturi/blade-bootstrap-icons
You can override the icons in the published configuration file of this package and install another Blade UIKit/Blade-icons package