wip 3.x updates

This commit is contained in:
awcodes
2023-07-07 16:03:27 -04:00
parent 2bd9cd6ffd
commit 5bf7e6fd43
25 changed files with 224 additions and 140 deletions

36
src/SkeletonPlugin.php Normal file
View File

@@ -0,0 +1,36 @@
<?php
namespace VendorName\Skeleton;
use Filament\Contracts\Plugin;
use Filament\Panel;
class SkeletonPlugin implements Plugin
{
protected static string $name = 'skeleton-plugin';
public function getId(): string
{
return static::$name;
}
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
{
return filament(app(static::class)->getId());
}
}