Download the PHP package igamov/filament-media-gallery without Composer
On this page you can find all versions of the php package igamov/filament-media-gallery. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download igamov/filament-media-gallery
More information about igamov/filament-media-gallery
Files in igamov/filament-media-gallery
Package filament-media-gallery
Short Description This package add support spatie media library to filament V3.x
License MIT
Homepage https://github.com/igamov/filament-media-gallery
Informations about the package filament-media-gallery
Media Gallery for Filament Spatie Media Library
This package add support spatie media library to filament V3.x
I've taken inspiration from the following plugins: Json Media & Filament Spatie Media Library.
Installation
You can install the package via composer:
Optionally, you can publish the views using
Usage
In Filament Forms
In Filament Tables
To use the media gallery image column:
The media gallery image column supports all the customization options of the original image column.
Passing a collection
Optionally, you may pass a collection()
:
The collection allows you to group files into categories.
By default, only media without a collection (using the default
collection) will be shown. If you want to show media from all collections, you can use the allCollections()
method:
Using conversions
You may also specify a conversion()
to load the file from showing it in the table, if present:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- igamov
- All Contributors
License
The MIT License (MIT). Please see License File for more information.