set config key dynamic laravel

40

// 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

Comments

Submit
0 Comments