Answers for "i cant see my .env file on local dev laravel"

PHP
2

laravel get env variable

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

laravel APP_ENV config

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

Code answers related to "i cant see my .env file on local dev laravel"

Browse Popular Code Answers by Language