Level 50
You could just take it from GitHub..
https://github.com/laravel/laravel/blob/master/.env.example
Also make sure you're showing dot file, like ls -a
You could also run php artisan key:generate
1 like
Hey, I've recently created a fresh new Laravel project, but I've noticed that my .env file is missing; hence I can't use the database. How do I get this .env file? And why is it that I'm missing the file?
You could just take it from GitHub..
https://github.com/laravel/laravel/blob/master/.env.example
Also make sure you're showing dot file, like ls -a
You could also run php artisan key:generate
Please or to participate in this conversation.