命令 中文 English
clear-compiled 刪除已編譯的類文件 Remove the compiled class file
down 將應用程序置於維護模式 Put the application into maintenance mode
dump-server 啓動轉儲服務器以收集轉儲信息。 Start the dump server to collect dump information.
env 顯示當前的框架環境 Display the current framework environment
help 顯示命令的幫助 Displays help for a command
inspire --- Display an inspiring quote
list 列出命令 Lists commands
migrate 運行數據庫遷移 Run the database migrations
optimize 緩存框架引導程序文件 Cache the framework bootstrap files
preset 爲應用程序交換前端腳手架 Swap the front-end scaffolding for the application
serve 在 PHP 開發服務器上提供應用程序 Serve the application on the PHP development server
tinker 與您的應用程序互動 Interact with your application
up 使應用程序退出維護模式 Bring the application out of maintenance mode
創建新的數據表
php artisan make:migration create_bbs_comment_table --create bbs_comment
執行新的migration
php artisan migrate