Categories
Programming

Composer detected issues fix

This is the error that somehow I frequently got lately:

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”. You are running 7.4.33. in

In order to fix this, just run:

valet use [email protected] --force

This assumes that you are using Laravel Valet for your development environment.