Obtenez URL de l'application Env Laravel
env('APP_URL')
Witness
env('APP_URL')
config()->set('config.path', $value);
if (\Illuminate\Support\Facades\App::environment('production')) {
// The environment is production
}
use Illuminate\Support\Facades\Config;