php artisan tinker 可以直接在命令行运行一些命令,看个人习惯 这是我测试环境的效果 ctrl+c 退出就好了 php artisan cache:clear 清除缓存 php artisan queue:restart 重启队列,在更新了代码之后需要重启