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