laravel_command

laravel5基本命令

1.创建某个文件夹下的controller

php artisan make:controller Admin/ArticlesController

2.创建model

php artisan make:model Article

3.为已有表添加字段,创建migration