Answers for "laravel use config"

PHP
1

get env app url laravel

env('APP_URL')
Posted by: Guest on November-28-2020
1

laravel set config

config()->set('config.path', $value);
Posted by: Guest on January-08-2021
1

laravel use config

use Illuminate\Support\Facades\Config;
Posted by: Guest on April-23-2020

Browse Popular Code Answers by Language