PHP code example of alfasix / alfakit-kanban

1. Go to this page and download the library: Download alfasix/alfakit-kanban library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

alfasix / alfakit-kanban example snippets


use AlfaSix\AlfakitKanban\KanbanPlugin;

$panel->plugin(KanbanPlugin::make());

use AlfaSix\AlfakitKanban\Pages\KanbanPage;

class TaskBoard extends KanbanPage
{
    protected static string $resource = TaskResource::class;

    protected static ?string $statusEnum = TaskStatus::class;

    protected static ?string $orderAttribute = 'sort';

    public function getFormSchema(): array
    {
        return [TextInput::make('title')->