Answers for "laravel config.php"

PHP
1

laravel set config

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

laravel APP_ENV config

if (\Illuminate\Support\Facades\App::environment('production')) {
    // The environment is production
}
Posted by: Guest on November-10-2020
1

laravel include config

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

Code answers related to "laravel config.php"

Browse Popular Code Answers by Language