if (\Illuminate\Support\Facades\App::environment('production')) { // The environment is production }
dd(env('APP_NAME'));