1.创建控制器
(1).controllers文件夹下
php artisan make:controller xxxController;
(2)子目录下创建
php artisan make:controller Admin/xxxController
(3)restful 风格
php artisan make:controller xxxController --resource;
2.创建model
php artisan make:model admin;
3.创建中间件
php artisan make:middleware Aaa
4.查看路由
php artisan route:list
5.创建请求类(app/Http/Requests下)
php artisan make:request aaa;