How to generate .env file for laravel?
问题 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? 回答1: 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