takdw

Why isn't 'laravel new' generating an application key automatically?

Posted 1 year ago by takdw

This has been bugging me for a while but it wasn't much of a big deal. The thing is when I run laravel new myapp, sure I get a fresh copy of Laravel but it doesn't generate and set an application key automatically. I have to copy the .env.example file to .env and run php artisan key:generate manually every single time. Whats the issue here?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.