Laravel 5: No supported encrypter found. The cipher and / or key length are invalid.

Do you get this error: No supported encrypter found. The cipher and / or key length are invalid with Laravel 5 or other version?

In this tutorial I wll explain how you can solve this error.

Run command line from your Laravel project and enter:

php artisan key:generate

If this error persists, clone the .env.example file and save it as .env. Then, copy the generated Application key and put it in the env file at APP_KEY.

In this way, you can solve this error!









Leave a Comment