wotz/filament-image-or-video

Package to embed an image or youtube/vimeo as a Filament field

Maintainers

Package info

github.com/wotzebra/filament-image-or-video

pkg:composer/wotz/filament-image-or-video

Transparency log

Statistics

Installs: 1 519

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v2.2.0 2026-08-19 11:06 UTC

README

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.