If the .env
a file is missing, then there is another way to generate a .env file
You can download env.example, rename it to .env
and edit it. Just set up correct DB credentials etc.
Don't forget to When you use the php artisan key:generate
it will generate the new key to your .env
file