PHP-DI: Unable to composer install with current master branch on PHP 8.1.5

When attempting to run composer install on latest master branch, I am getting the following message…

Loading composer repositories with package information
 Updating dependencies
 Your requirements could not be resolved to an installable set of packages.
 
   Problem 1
     - ocramius/proxy-manager[2.11.2, ..., 2.13.1] require php ~7.4.1 || ~8.0.0 -> your php version (8.1.5) does not satisfy that requirement.
     - ocramius/proxy-manager[2.14.0, ..., 2.14.1] require php ~8.0.0 -> your php version (8.1.5) does not satisfy that requirement.
     - Root composer.json requires ocramius/proxy-manager ^2.11.2 -> satisfiable by ocramius/proxy-manager[2.11.2, ..., 2.14.1].
 
 Failed to install packages for  ./composer.json.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

To clarify, I am attempting to fork PHP-DI so I can use 6.x with psr/container 2.x versions, as I have several projects that need this support and I cannot wait for the 7.x versions to be released. But recent merges or dependency changes (perhaps?) seem to have broken working on master with PHP 8.1. I use actual releases of 6.x fine in PHP 8.1 where I can use psr/container 1.x, but this is causing me to be unable to get latest versions of other dependencies which require psr/container 2.x support.