PHP code example of muhammadkazimsadiq / filament-video-importer
1. Go to this page and download the library: Download muhammadkazimsadiq/filament-video-importer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
muhammadkazimsadiq / filament-video-importer example snippets
'model' => \App\Models\Video::class,
use MuhammadKazimSadiq\FilamentVideoImporter\Actions\ImportVideosAction;
public static function table(Table $table): Table
{
return $table
->headerActions([
ImportVideosAction::make()
->label('Import Videos')
->queue(), // Enable background processing (Recommended for large playlists)
]);
}
bash
php artisan vendor:publish --tag="filament-video-importer-config"
bash
php artisan vendor:publish --tag="filament-video-importer-translations"