get config value in laravel code example Example: laravel set config config()->set('config.path', $value);