access env variable in web.php laravel code example
Example 1: laravel get env variable
dd(env('APP_NAME'));
Example 2: laravel set config
config()->set('config.path', $value);
dd(env('APP_NAME'));
config()->set('config.path', $value);