I'm trying to avoid receiving this error when attempting to use some Google Analytics libraries installed via composer;
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2"
My PHP version is 8.0.13 but I don't want to upgrade to the latest version (8.1.1) yet because I'm running a few plugins on my WordPress site which aren't compatible with PHP 8.1.1.
I have tried using "platform-check": false in my composer.json but it did nothing. I also tried updating to PHP 8.1.1 but obviously the plugins broke.
Any ideas on how to solve / bypass this?
My composer.json:
{
"name": "vendor/proj_name",
"require": {
"google/apiclient": "^2.0"
},
"platform-check": false
}