Laravel Sail: Your Composer dependencies require a PHP version “>= 8.0.0”. You are running 7.4.x

I was trying to create a new Laravel project when this error appeared in my terminal. The PHP process inside the container keeps restarting because of this error. How to reproduce? $ curl -s “https://laravel.build/example-app?with=mysql,redis,mailhog”…

Read more of Laravel Sail: Your Composer dependencies require a PHP version “>= 8.0.0”. You are running 7.4.x