laravel---常用命令

laravel在使用的过程中,经常会使用到一些laravel自带的框架的命令,例如:artisan

常见的命令:

1、创建软连接

php artisan storage:link

2、缓存

php artisan cache:clear  //  清除缓存

3、配置缓存

php artisan config:clear  // 清除配置缓存
php artisan config:cache // 开启配置缓存

4、路由缓存

php artisan route:clear  // 关闭路由缓存
php artisan route:cache // 开启路由缓存 【开发环境,不要开启】

打完收工!

posted @ 2022-07-18 09:47  帅到要去报警  阅读(317)  评论(0编辑  收藏  举报