cube-agency / filament-page-manager
Filament 页面管理器
v1.0.4
2024-05-22 12:57 UTC
Requires
- php: ^8.1
- cube-agency/filament-json: v1.x
- cube-agency/filament-template: v1.x
- cube-agency/filament-tree-view: v1.x
- filament/filament: ^3.0
- illuminate/contracts: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2024-09-22 13:40:36 UTC
README
基于模板的 FilamentPHP 页面管理器
安装
您可以通过 composer 安装此软件包
composer require cube-agency/filament-page-manager
运行安装命令
php artisan filament-page-manager:install
运行迁移(如果安装时未执行)
php artisan migrate
使用方法
将此插件添加到您的 AdminPanelProvider
use CubeAgency\FilamentPageManager\FilamentPageManagerPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->plugins([ FilamentPageManagerPlugin::make(), ]); }
根据此说明创建新模板: Filament 模板
在 config/filament-template.php 下的 "pages" 键中添加这些模板,例如
<?php return [ 'pages' => [ \App\Filament\Templates\MainTemplate::class ] ];
测试
composer test
变更日志
请参阅 变更日志 了解最近更改的详细信息。
贡献
请参阅 贡献指南 了解详细信息。
安全漏洞
请查看 我们的安全策略 了解如何报告安全漏洞。
致谢
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。