awcodes / filament-oembed
This is my package filament-oembed
Fund package maintenance!
awcodes
Requires
- php: ^8.0
- filament/filament: ^2.0
- illuminate/contracts: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.13.5
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0|^7.0
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- pestphp/pest-plugin-livewire: ^1.0
- pestphp/pest-plugin-parallel: ^0.3
- phpunit/phpunit: ^9.5|^10.0
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-11-30 02:08:13 UTC
README
Installation
You can install the package via composer:
composer require awcodes/filament-oembed
Optionally, you can publish the views, assets or translations using:
php artisan vendor:publish --tag=filament-oembed-assets php artisan vendor:publish --tag=filament-oembed-translations php artisan vendor:publish --tag=filament-oembed-views
Theming
If you are using a custom theme for Filament you will need to add this plugin's views to your Tailwind CSS config. Once this is done you may disable the plugin's stylesheet in the config file by changing 'load_styles' to false.
content: [ ... "./vendor/awcodes/filament-oembed/resources/views/**/*.blade.php", ],
Usage
Allows an oEmbed video with preview. Only supports YouTube and Vimeo at the moment.
use Awcodes\FilamentOembed\Forms\Components\OEmbed; OEmbed::make(string $fieldname)
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.