Answers for "set config key dynamic laravel"

PHP
0

set config key dynamic laravel

// 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
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language