yurizoom / moonshine-scheduling
MoonShine 的任务调度扩展
1.1.2
2024-08-13 02:27 UTC
Requires
- php: ^8.2
- moonshine/moonshine: ^2.9
Conflicts
- moonshine/moonshine: <2.0
README
用于管理 MoonShine 中任务规划器的 Web 界面。
截图
安装
$ composer require yurizoom/moonshine-scheduling
配置
在 config/moonshine.php 文件中添加配置。
[ 'scheduling' => [ // Автоматическое добавление в меню 'auto_menu' => true, ] ]
添加到菜单
要将菜单添加到其他位置,请将以下代码插入到 app/Providers/MoonShineServiceProvider.php 文件中
use YuriZoom\MoonShineScheduling\Pages\SchedulingPage; protected function menu(): array { return [ ... MenuItem::make( static fn () => __('Scheduling'), new SchedulingPage(), ), ... ]; }