making config file values dynamic in laravel 6 code example Example: laravel set config value dynamically Config::set('custom.my_val', 'mysinglelue');