I'm using Laravel for the first time. I have to run this command: "php artisan key:generate" but i get this:
[ErrorException]
file_get_contents(C:\xampp\htdocs\laravel/.env): failed to open stream: No such file or directory
I have no ".env" file or ".example.env". What's wrong? Thanks.
You can always generate .env file manually by running:
cp .env.example .env
php artisan key:generate
Must be Turns out the IDE will show certain types of .hidden files but not all