Fix No application encryption key has been specified error In Laravel
Sometime in laravel, when you created a fresh laravel project and trying to start development server you may encounter following error –

|
1 |
RuntimeException No application encryption key has been specified. |
Fix:-
The easiest way to fix this error you need to set a key option in your config/app.php configuration file. You should use the following commands to generate this key and get the error fixed –
|
1 |
php artisan key:generate |
|
1 |
php artisan config:cache |
I hope this will fix the above error for you.
