packages/press-trainings/src/WpTrainingPlugin.php
<?php
namespace Moox\PressTrainings;
use Filament\Contracts\Plugin;
use Filament\Panel;
use Filament\Support\Concerns\EvaluatesClosures;
use Moox\PressTrainings\Resources\WpTrainingResource;
class WpTrainingPlugin implements Plugin
{
use EvaluatesClosures;
public function getId(): string
{
return 'wp-training';
}
public function register(Panel $panel): void
{
$panel->resources([
WpTrainingResource::class,
]);
}
public function boot(Panel $panel): void
{
//
}
public static function make(): static
{
return app(static::class);
}
}