Pages

24 February, 2022

Laravel APP_ENV config

 <?php


Laravel APP_ENV config

dd(env('APP_NAME'));



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

No comments:

Post a Comment

Thanks