wotz/filament-image-or-video
| Install | |
|---|---|
composer require wotz/filament-image-or-video |
|
| Latest Version: | v2.3.0 |
| PHP: | ^8.3 |
| License: | MIT |
| Last Updated: | Sep 15, 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
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.3.0 | ^8.3 | ^12.0| | MIT | |
| v2.2.0 | ^8.3 | ^12.0| | MIT | |
| v2.1.0 | ^8.3 | ^12.0| | MIT | |
| v2.0.0 | ^8.2 | ^10.0| | MIT | |
| v1.2.0 | ^8.2 | ^10.0| | MIT | |
| v1.1.0 | ^8.2 | ^10.0| | MIT | |
| v1.0.1 | ^8.2| | ^10.0| | MIT | |
| v1.0.0 | ^8.2| | ^10.0| | MIT | |
| v0.0.5 | ^8.2 | ^10.0 | MIT | |
| v0.0.4 | ^8.2 | ^10.0 | MIT | |
| v0.0.3 | ^8.2 | ^10.0 | MIT | |
| v0.0.2 | ^8.2 | ^10.0 | MIT | |
| v0.0.1 | ^8.2 | ^10.0 | MIT |