load config file data laravel controller code example Example: laravel set config config()->set('config.path', $value);