M3: Filament 后台资源(文章/分类/评论/媒体/用户/友链)+ 博客设置页 + 仪表盘统计

This commit is contained in:
ak
2026-08-11 18:08:47 +08:00
parent 6214976a88
commit dee0208f1d
46 changed files with 1572 additions and 6 deletions
@@ -0,0 +1,29 @@
<?php
namespace App\Filament\Resources\Links\Schemas;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\Toggle;
use Filament\Schemas\Schema;
class LinkForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextInput::make('name')
->required(),
TextInput::make('url')
->url()
->required(),
TextInput::make('note'),
TextInput::make('display_order')
->required()
->numeric()
->default(0),
Toggle::make('visible')
->required(),
]);
}
}