daikazu/filament-lightbox
Lightbox for Filament PHP
Lightbox to preview images in Filament PHP Tables and Information Panels that uses fslightbox.js.
Requirements
- PHP 8.2+
- Laravel 11.x or 12.x
- Filament 4.x or 5.x
Installation
You can install the package via composer:
composer require daikazu/filament-lightbox
Usage
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugin(LightBoxPlugin::make())
}
\Filament\Tables\Columns\ImageColumn::make('image')
->lightbox()
\Filament\Tables\Columns\TextColumn::make('pdf_url')
->lightbox("Your Url address"),
\Filament\Infolists\Components\ImageEntry::make('image')
->lightbox()
\Filament\Infolists\Components\TextEntry::make('text')
->lightbox("Your Url address")
Testing
composer test
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
License
The MIT License (MIT). Please see License File for more information.
Related Packages
daikazu/laravel-glider
Start using Glide on-the-fly instantly in your Laravel blade templates.
6,007
92
daikazu/eloquent-salesforce-objects
A Laravel package that provides an Eloquent-style interface for interacting with...
5,001
10
vlados/laravel-blade-crawler-detect
Boost Lighthouse and PageSpeed scores by hiding cookie banners, chat widgets and...
5,439
0