ideatocode / nova-kanban-board
一个 Laravel Nova 工具。
1.0.0-beta
2022-12-10 03:39 UTC
Requires
- php: ^7.3|^8.0
- whitecube/nova-flexible-content: ^1.0
This package is auto-updated.
Last update: 2024-09-10 07:26:29 UTC
README
composer require ideatocode/nova-kanban-board
use Ideatocode\NovaKanban\NovaKanban; // ... /** * Get the tools that should be listed in the Nova sidebar. * * @return array */ public function tools() { return [ new NovaKanban, ]; }
您还可以修改使用的迁移模型
php artisan vendor:publish --provider="Ideatocode\NovaKanban\NovaKanbanServiceProvider"
// ... /** * Bootstrap any application services. * * @return void */ public function boot() { parent::boot(); $this->app->bind(KanbanItem::class, MyKanbanItem::class); $this->app->bind(KanbanBoard::class, MyKanbanBoard::class); $this->app->bind(NovaKanbanBoard::class, MyNovaKanbanBoard::class); }