Is it necessary to execute “php artisan key:generate” command after installation of laravel 5.7
问题 I have installed laravel 5.7 in my system. I want to know that is it necessary to execute php artisan key:generate command? 回答1: php artisan key:generate This command sets the APP_KEY value in your .env file. If you create a project with composer it'll generated default with project. composer create-project laravel/laravel If you clone project using git clone some folder is ignored by git so you might not get env file as well as vendor folder. Therefore, they will have to manually enter php