how to get environment variable in .env laravel code example Example: laravel get env variable dd(env('APP_NAME'));