laravel get config from app code example
Example 1: laravel set config
config()->set('config.path', $value);
Example 2: laravel use config
use Illuminate\Support\Facades\Config;
config()->set('config.path', $value);
use Illuminate\Support\Facades\Config;