No application encryption key has been specified.

1633 views 1 year ago Laravel

Today i will share with you one of the common laravel application issues which most off laravel beginners face when we learning to start the laravel. some time you create the laravel project in your local machine and try tot run the laravel application help of the following artisan command.

php artisan serve

after the run artisan command and you just run the application in your browser and there you see the following error on the screen. so, how to resolve it?

please run the following artisan command in your terminal and resolve it. it's happened because we forget the generate the .env file key.

php artisan key:generate

i hope you like this small article.

Author : Harsukh Makwana
Harsukh Makwana

Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]