Artisan

Artisan

Artisan 是 Laravel 框架本身提供的命令列工具

常用指令

// 看 artisan有那些指令可以用
php artisan list
php artisan --version
php artisan serve
php artisan route:list
php artisan make:controller
php artisan make:controller --resource ArticleController
php artisan make:model Article -m
php artisan make:test ArticleControllerTest
php artisan help route

results for ""

    No results matching ""