laravel 部分命令记录

1.php artisan migrate

2.php artisan migrate:refresh –seed  重置并填充数据库

3.php artisan make:migration create_statuses_table –create=“statuses”

4.php artisan make:model Models/Status

5.php artisan make:controller StatusesController

6.php artisan make:observer UserObserver –model=User

7.php artisan make:request UserRequest

发表评论

电子邮件地址不会被公开。 必填项已用*标注