2

When I upgrade my PHP version to 7.0.2 I have problems with a couple of Composer packages which have requirements that demand version ~5.3. Composer doesn’t want to resolve these packages. I'm quite sure that there is nothing in that package what will break PHP.

Is there a good way to deal with this? Can I somehow force Composer to not look at the requirements and install the packages anyway?

IMSoP
  • 89,526
  • 13
  • 117
  • 169
Janko
  • 202
  • 2
  • 11
  • 1
    Duplicate targets: [Reference - Composer error "Your PHP version does not satisfy requirements" after upgrading PHP](https://stackoverflow.com/questions/66368196/reference-composer-error-your-php-version-does-not-satisfy-requirements-afte) and https://stackoverflow.com/q/32838881 – IMSoP Feb 25 '21 at 14:44

1 Answers1

1

OK, i found answer in composer documentation

composer update --ignore-platform-reqs
Janko
  • 202
  • 2
  • 11