Package to embed an image or youtube/vimeo as a Filament field
You can install the package via composer:
composer require wotz/filament-image-or-videoOptionally, 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"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.
For the full documentation, check here.
vendor/bin/pestPlease see CHANGELOG for more information on what has changed recently.
Please see UPGRADING for more information on how to upgrade to a new version.
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email info@whoownsthezebra.be instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.