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