更新时间: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