Download the PHP package njxqlus/filament-lightbox without Composer
On this page you can find all versions of the php package njxqlus/filament-lightbox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download njxqlus/filament-lightbox
More information about njxqlus/filament-lightbox
Files in njxqlus/filament-lightbox
Package filament-lightbox
Short Description Lightbox entry for Filament
License MIT
Homepage https://github.com/njxqlus/filament-lightbox
Informations about the package filament-lightbox
Lightbox for Filament
Lightbox components for Filament. Supports Spatie Media Library.
Installation
You can install the package via composer:
Optionally, you can publish the views using
You can publish the config file to set up lightbox options with:
Usage
LightboxImageEntry
This entry extend default ImageEntry and wrap it to lightbox. To use it you need to pass an url to href() method.
Also, you can pass an url to image() method that's accept a Closure.
By default, all lightbox images on page are on the same gallery. It's mean that you can use arrow to move between them.
If you want to divide galleries use a slideGallery() method.
Because this entry extends ImageEntry all methods should be work (except of url()).
Lightbox Component
This component allows you to pass any other entries to schema that's open lightbox.
Lightbox Spatie Media Library Image Entry
This entry wrap Filament Spatie Media Library Plugin entry with lightbox
GLightBox
This package uses GLightBox under the hood. Most of its options provided as
chain methods with slide prefix. There are some of them in the example below.
Testing
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
- Mikael Ahabalyants
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-lightbox with dependencies
filament/filament Version ^4.0
spatie/laravel-package-tools Version ^1.15.0
illuminate/contracts Version ^12.0