Artisan Generators

For more information on each command and its options & arguments run php artisan <command> --help

# Generate a dashboard class
php artisan sharp:make:dashboard <class_name>

# Generate a sharp entity form
php artisan sharp:make:form <class_name> [--model=<model_name>]

# Generate a sharp entity list
php artisan sharp:make:entity-list <class_name> [--model=<model_name>]

# Generate a list command
php artisan sharp:make:entity-command <class_name> [--model=<model_name>]

# Generate a list filter
php artisan sharp:make:list-filter <class_name> [--required,--multiple]

# Generate a reorder handler
php artisan sharp:make:reorder-handler <class_name> [--model=<model_name>]

# Generate a model state
php artisan sharp:make:entity-state <class_name> [--model=<model_name>]

# Generate sharp media model
php artisan sharp:make:media <class_name> [--table=<db table_name>]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Last Updated:
Contributors: antoine, philippe