且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Lumen PHP Artisan config:找不到缓存

更新时间:2023-11-17 16:35:22

是的,您不能在Lumen项目中使用php artisan config:cache,因为它不是开箱即用的.

Yes, you can not use the php artisan config:cache with your Lumen project, because it is not available out of the box.

您可以通过添加此程序包(orumad/lumen-config-cache)来添加它到您的项目:

You can add it by adding this package (orumad/lumen-config-cache) to your project:

composer require orumad/lumen-config-cache