configured plugin

This commit is contained in:
DigitalInfinity committed 2025-11-09 19:18:07 +00:00
1 parent 2b156878ad
commit 400cee47fc
28 files changed
+104 -523

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
<?php
namespace AlexanderGabriel\FilamentOauth2;
use Filament\Contracts\Plugin;
use Filament\Panel;
class FilamentOauth2Plugin implements Plugin
{
public function getId(): string
{
return 'filament-oauth2';
}
public function register(Panel $panel): void
{
//
}
public function boot(Panel $panel): void
{
//
}
public static function make(): static
{
return app(static::class);
}
public static function get(): static
{
/** @var static $plugin */
$plugin = filament(app(static::class)->getId());
return $plugin;
}
}