Answers for "laravel read from envirnoment variable"

PHP
2

laravel get env variable

dd(env('APP_NAME'));
Posted by: Guest on October-15-2020
0

laravel check environment hlper

if (App::environment('local')) {
    // The environment is local
}

if (App::environment(['local', 'staging'])) {
    // The environment is either local OR staging...
}
Posted by: Guest on January-26-2021

Code answers related to "laravel read from envirnoment variable"

Browse Popular Code Answers by Language