Tag Archives: composer platform_check tp6 thinkphp6 laravel

composer platform_check tp6 thinkphp6 laravel Error (PHP Version)

in fact, the reason should be that the new version of composer adds a thing to check the PHP version. You can solve the problem by turning off this setting

By command

composer config -l -g

Can find

platform_check

The value should be PHP_Only or something

Then turn it off by the command below

composer config -g platform-check false

Then again

composer update

It should be solved