how to change laravel config files dynamically code example Example: laravel set config value dynamically Config::set('custom.my_val', 'mysinglelue');