Answers for "config vs env laravel"

PHP
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 set env to production

APP_ENV=production
APP_DEBUG=false
Posted by: Guest on October-10-2021

Browse Popular Code Answers by Language