Download the PHP package mlbrgn/laravel-medialibrary-extensions without Composer
On this page you can find all versions of the php package mlbrgn/laravel-medialibrary-extensions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mlbrgn/laravel-medialibrary-extensions
More information about mlbrgn/laravel-medialibrary-extensions
Files in mlbrgn/laravel-medialibrary-extensions
Package laravel-medialibrary-extensions
Short Description Extensions designed for use with the Media Library package by Spatie. Adds a single image uploader, multiple image uploader and a modal with carousel
License MIT
Informations about the package laravel-medialibrary-extensions
Laravel Media Library Extensions
This package adds functionality to the Media 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.
Installation
1) Install the package using:
2) Run install command
You can configure the path to the translations the Image Editor, provided by this package, uses by adding the following to your app.js (or similar).
The install command will publish the needed assets (CSS, JS, and images) and the config file.
Manual install (without using the install command)
You can also manually install by installing the @mlbrgn/laravel-medialibrary-extensions package
And publish the required assets (CSS, JS, and images)
Themes
The provided themes are:
- plain (vanilla css and js)
- bootstrap-5
Publishing
Several assets can be published:
- config
- assets (CSS, JS, and images)
- views
- translations
to publish all package assets (including views):
to publish a single tag (group of assets):
Icons
For icons to work, you will have to install a Blade UI Kit package.
The package is configured to use the Blade Bootstrap Icons by default. To display them properly install
You can override the icons in the published configuration file of this package and install another Blade UIKit/Blade-icons package
Testing
This package uses Pest PHP for testing. For more information on how to write tests for this package, see the TESTING.md guide.
If snapshot output changes intentionally, update snapshots with:
All versions of laravel-medialibrary-extensions with dependencies
ext-fileinfo Version *
ext-gd Version *
blade-ui-kit/blade-icons Version ^1.8
davidhsianturi/blade-bootstrap-icons Version ^2.1
illuminate/support Version ^10 || ^11 || ^12 || ^13
spatie/laravel-medialibrary Version ^11.0
intervention/image Version ^3.0
intervention/image-laravel Version ^1.0