---
url: /reference/commands.md
description: >-
  Artisan commands that generate Scheduler Pro widgets and Kanban boards from
  your tables.
---

# Commands

## make:scheduler

```bash
php artisan make:scheduler FrontDeskSchedule --model=Appointment --resource=Staff
```

| Option | Purpose |
|---|---|
| `name` | The widget class, e.g. `FrontDeskSchedule`. Asked for when omitted. |
| `--model` | The Eloquent model that stores events. |
| `--resource` | The Eloquent model shown as timeline rows. |
| `--force` | Overwrite the widget if it exists. |

Reads the table to find start, end and title columns, the resource foreign key, and `recurrence`, `progress` or `depends_on` columns.

## make:kanban

```bash
php artisan make:kanban TaskBoard --model=Task --swimlanes=Member
```

| Option | Purpose |
|---|---|
| `name` | The widget class, e.g. `TaskBoard`. |
| `--model` | The Eloquent model shown as cards. |
| `--swimlanes` | The Eloquent model shown as swimlanes. |
| `--force` | Overwrite the widget if it exists. |

Finds the status column and its enum cast, a sort column, a description, a due date and progress.

## Assets and translations

```bash
php artisan filament:assets
php artisan vendor:publish --tag=scheduler-pro-translations
```
