📜  设置配置键动态 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:49.739000             🧑  作者: Mango

代码示例1
// Change service config parameters at runtime  laravel

You can set config values dynamically at runtime with config() helper:

config(['services.mailgun' => $arrayWithNewSettings]);


// call method in config laravel to set desiered key