wotz/filament-image-or-video
| Install | |
|---|---|
composer require wotz/filament-image-or-video |
|
| Latest Version: | v2.2.0 |
| PHP: | ^8.3 |
| License: | MIT |
| Last Updated: | Aug 26, 2026 |
| Links: | GitHub · Packagist |
Image or video field for Filament
Package to embed an image or youtube/vimeo as a Filament field
Installation
You can install the package via composer:
composer require wotz/filament-image-or-video
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-image-or-video-views"
Optionally, you can publish the translations using
php artisan vendor:publish --tag="filament-image-or-video-translations"
Usage
use App\Formats\Landscape;
use Wotz\FilamentImageOrVideo\Filament\Components\ImageOrVideoUrl;
ImageOrVideoUrl::make(attachmentFormats: [Landscape::class]);
attachmentFormats also accepts a closure (fn (Get $get) => [...]), see the documentation.
Documentation
For the full documentation, check here.
Testing
vendor/bin/pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Upgrading
Please see UPGRADING for more information on how to upgrade to a new version.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
If you discover any security-related issues, please email info@whoownsthezebra.be instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
Related Packages
A field for Filament that allows you to add content to another field