Tag Archives: RuntimeException No application encryption key has been specified

How To Fix No application encryption key has been specified error In Laravel

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 –

how to fix laravel 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 –

I hope this will fix the above error for you.