定制 muhammadkazimsadiq/filament-video-importer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

muhammadkazimsadiq/filament-video-importer

最新稳定版本:1.0.0

Composer 安装命令:

composer require muhammadkazimsadiq/filament-video-importer

包简介

This is my package filament-video-importer

README 文档

README

Latest Version on Packagist Total Downloads License

The Filament Video Importer is a filament plugin that allows you to seamlessly import videos from YouTube, Vimeo, and Bunny.net directly into your Laravel database.

It features a modern, user-friendly 4-step wizard with field mapping intelligence and field discovery.

🚀 Key Features

  • Multi-Platform: Full support for YouTube, Vimeo, and Bunny.net (Stream).
  • Flexible Fetching: Import entire playlists, folders, or specific video IDs.
  • Custom Mapping: Customize mapping of API fields (Title, Duration, URL, etc.) to your custom database columns.
  • Background Imports: Native support for Laravel Queues via a simple ->queue() method.

📦 Installation

Install the package via composer:

composer require muhammadkazimsadiq/filament-video-importer

1. Configuration

Publish the configuration file:

php artisan vendor:publish --tag="filament-video-importer-config"

⚙️ Configuration

API Keys

Add your credentials to your .env file:

YOUTUBE_API_KEY=your_youtube_key
VIMEO_ACCESS_TOKEN=your_vimeo_token
BUNNY_API_KEY=your_bunny_key
BUNNY_LIBRARY_ID=your_bunny_library_id

Map Your Model

In config/video-importer.php, set the model where videos should be imported:

'model' => \App\Models\Video::class,

🛠️ Usage

Register the ImportVideosAction in your Filament Resource's headerActions() or inside any Table/Page action list.

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)
        ]);
}

🌍 Translations

The plugin supports multi-language setups. You can publish translations to customize them:

php artisan vendor:publish --tag="filament-video-importer-translations"

🤝 Credits

📄 License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固