openclassify/Modules/Video/VideoPlugin.php
fatihalp f06943ce9d feat: add User management resource with CRUD operations and activity logging
- Created UserResource for managing users with form and table configurations.
- Implemented pages for creating, editing, listing users, and viewing user activities.
- Added UserPlugin for resource registration in Filament admin panel.
- Introduced CSS styles for panel quick creation and listing filters.
- Developed JavaScript modules for handling listing filters and home slider functionality.
2026-03-23 01:39:30 +03:00

36 lines
830 B
PHP

<?php
namespace Modules\Video;
use Filament\Contracts\Plugin;
use Filament\Panel;
use Filament\View\PanelsRenderHook;
final class VideoPlugin implements Plugin
{
public function getId(): string
{
return 'video';
}
public static function make(): static
{
return app(static::class);
}
public function register(Panel $panel): void
{
$panel
->discoverResources(
in: module_path('Video', 'Filament/Admin/Resources'),
for: 'Modules\\Video\\Filament\\Admin\\Resources',
)
->renderHook(
PanelsRenderHook::BODY_END,
fn (): \Illuminate\Contracts\View\View => view('video::partials.video-upload-optimizer'),
);
}
public function boot(Panel $panel): void {}
}