← All plugins

MoonShine kanban board resource

MoonShine Kanban Board Resource adds Kanban board functionality to MoonShine, providing an interactive interface for task management with customizable statuses and sorting. The package seamlessly integrates with MoonShine v3.0+ and allows you to define task fields, models, and relationships.

Rating
Downloads
543
Version
2.2.0
Last updated
01.02.2026
MoonShine version
v2, v3
Github stars
10
MoonShine Software
Author
MoonShine Software

MoonShine kanban board resource

Requirements

  • MoonShine v3.0+

Installation

composer require lee-to/moonshine-kanban-board-resource
composer require lee-to/moonshine-kanban-board-resource

Get started

Example usage

use Leeto\MoonShineKanBan\Resources\KanBanResource;
 
class TaskResource extends KanBanResource
{
protected string $title = 'title';
 
protected string $sortColumn = 'sorting';
 
// ... fields, model, etc ...
 
public function statuses(): Collection
{
return Status::query()
->orderBy('sorting')
->pluck('name', 'id');
}
 
public function foreignKey(): string
{
return 'status_id';
}
 
// ...
}
use Leeto\MoonShineKanBan\Resources\KanBanResource;
 
class TaskResource extends KanBanResource
{
protected string $title = 'title';
 
protected string $sortColumn = 'sorting';
 
// ... fields, model, etc ...
 
public function statuses(): Collection
{
return Status::query()
->orderBy('sorting')
->pluck('name', 'id');
}
 
public function foreignKey(): string
{
return 'status_id';
}
 
// ...
}