how to create .env file in 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);