I have tried the following the steps below and am facing the following issues. composer update cp .env.example .env php artisan key:generate (throwing error…