laravel 6 - No application encryption key has been specified Solved

Laravel 6 , Laravel

Nicesnippets

1618

20-09-2019


In this article, you will install laravel 6 then display to error No application encryption key has been specified. you can solved print the artisan command in composer.

In this article, you will find the solution of a common issue you might experience while working with Laravel application.

RuntimeException No application encryption key has been specified.

You will get this error when you start with the fresh larval application and copy the .env.example file to .env but do not set the value of APP_KEY variable then.

You can easily fix this issue by running following artisan command to generate new random key for your application

php artisan key:generate

Now you have generated laravel key in .env file.

It will help you ...


Recommended Posts