wotz/filament-image-or-video

Package to embed an image or youtube/vimeo as a Filament field
1,572
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
Maintainer: Who Owns The Zebra

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

wotz/filament-translatable-strings

This package manages translatable strings in Filament.

1,610 1
wotz/filament-resource-picker

This is my package filament-resource-picker

2,519 2
wotz/filament-translatable-tabs

This is my package filament-translatable-tabs

4,757 1
wotz/filament-placeholder-input

A field for Filament that allows you to add content to another field

2,240 1