- laravel-admin >= 1.6.9 (很重要!很重要!很重要! 重要的事情说三遍)
1、composer require james.xue/env
2、php artisan admin:import env
In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.
'extensions' => [
'env' => [
// set to false if you want to disable this extension
'enable' => true,
]
]
参考地址:https://github.com/laravel-admin-extensions/env-manager.git