What does your .env_example look like
Unable to set application key. No APP_KEY variable was found in the .env file.
Hi, my problem when creating a new project with laravel 9 in a docker container with PHP 8.1.13
composer create-project laravel/laravel example-app When running the above command I get this error:
Unable to set application key. No APP_KEY variable was found in the .env file.
.env.exemple and .env files are created in the directory, but the key is not automatically added to the APP_KEY variable the APP_KEY= variable is also created empty I already tried running this command, but it didn't work:
php artisan key:generate Unable to set application key. No APP_KEY variable was found in the .env file
php artisan key:generate --show base64:vRdsPl8qp/adnMpzkpSGrkOewAgGXVJBugL+r0M1gZ8=
php artisan config:cache php artisan config:clear
Please or to participate in this conversation.