call an env variable in a php file laravel code example Example: laravel get env variable dd(env('APP_NAME'));