Posted By: Anonymous
From the documentation I see it’s possible to create a laravel project
via laravel installer:
$laravel new blog
or via composer:
$composer create-project laravel/laravel --prefer-dist
If I try the first way .env file is not created.
How can I ask laravel,artisan or composer to create a .env file for me?
I had this problem of no .env files showing up in the project.
Turns out the IDE I was using (Netbeans, try not to judge) will show certain types of .hidden files but not all.
After racking my brains for a bit I checked the file system and found the .env + .env.example files / modified them with a text editor.
Leaving this answer for the rare situation someones using a dodgy IDE like myself.