Laravel artisan 示例

php artisan make:migration add_device_from_to_table --table=log_login
php artisan make:model Models/ActivityNew 
php artisan db:seed
php artisan migrate:rollback
php artisan migrate:status
php artisan make:model Models/Project -m
php artisan make:controller Admin/Activity/ProjectController
php artisan make:factory  ProjectFactory --model=Models/Project
php artisan migrate:rollback --step=2
php artisan make:test UserLevelTest
php artisan migrate
php artisan activity:timeup
php artisan make:migration add_level_score_to_user_tb --table=user_tb
php artisan make:migration add_left_to_activity_tb --table=activity_tb
copy success
1
2
3
4
5
6
7
8
9
10
11
12
13
14