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