how to get variable from env file in laravel boot code example Example: laravel get env variable dd(env('APP_NAME'));