Problem/Motivation
When I first try to install with PHP 8.3, it reports laminas/laminas-escaper requires PHP 8.1. But when I switched to PHP 8.1, it says drupal/core 11 requires PHP 8.3. So which PHP version should I use? The composer is trying to install Opigno 3.1.3, isn't that still based on Drupal 9? Why it asked to install drupal 11 instead?
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laminas/laminas-escaper[2.9.0, ..., 2.9.x-dev] require php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.3.10) does not satisfy that requirement.
- longwave/laminas-diactoros[2.14.2, ..., 2.14.x-dev] require php ^7.3 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.3.10) does not satisfy that requirement.
- opigno/opigno_lms 3.1.0 requires drupal/core-recommended ~9.5.0 -> satisfiable by drupal/core-recommended[9.5.0-beta1, ..., 9.5.x-dev].
- drupal/core-recommended[9.5.0-beta1, ..., 9.5.8] require laminas/laminas-escaper ~2.9.0 -> satisfiable by laminas/laminas-escaper[2.9.0, 2.9.x-dev].
- drupal/core-recommended[9.5.9, ..., 9.5.x-dev] require longwave/laminas-diactoros ~2.14.2 -> satisfiable by longwave/laminas-diactoros[2.14.2, 2.14.x-dev].
- Root composer.json requires opigno/opigno_lms ~3.1.0 -> satisfiable by opigno/opigno_lms[3.1.0].
Your requirements could not be resolved to an installable set of packages.
Problem 1
- drupal/core[11.0.0-alpha1, ..., 11.x-dev] require php >=8.3.0 -> your php version (8.1.29) does not satisfy that requirement.
- Root composer.json requires opigno/opigno_lms ~3.1.0 -> satisfiable by opigno/opigno_lms[3.1.0].
- drupal/core-recommended 9.5.0-beta2 requires drupal/core 9.5.0-beta2 -> satisfiable by drupal/core[9.5.0-beta2].
- Conclusion: don't install drupal/core 9.5.0-beta2 (conflict analysis result)
- drupal/core-recommended 9.5.0-rc1 requires drupal/core 9.5.0-rc1 -> satisfiable by drupal/core[9.5.0-rc1].
- Conclusion: don't install drupal/core 9.5.0-rc1 (conflict analysis result)
- drupal/core-recommended 9.5.0-rc2 requires drupal/core 9.5.0-rc2 -> satisfiable by drupal/core[9.5.0-rc2].
- Conclusion: don't install drupal/core[10.1.8] | install one of drupal/core[9.4.6, ..., 9.5.0-rc2] (conflict analysis result)
- Conclusion: don't install drupal/core 9.5.0-rc2 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.6 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.7 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.8 (conflict analysis result)
- Conclusion: don't install drupal/core 9.4.9 (conflict analysis result)
- Conclusion: don't install drupal/core 10.3.0 (conflict analysis result)
- Conclusion: don't install drupal/core 10.3.1 (conflict analysis result)
- drupal/core-recommended 9.5.0 requires drupal/core 9.5.0 -> satisfiable by drupal/core[9.5.0].
- Conclusion: don't install drupal/core 9.5.0 (conflict analysis result)
- drupal/core-recommended 9.5.1 requires drupal/core 9.5.1 -> satisfiable by drupal/core[9.5.1].
- Conclusion: don't install drupal/core 9.5.1 (conflict analysis result)
- drupal/core-recommended 9.5.2 requires drupal/core 9.5.2 -> satisfiable by drupal/core[9.5.2].
- Conclusion: don't install drupal/core 9.5.2 (conflict analysis result)
- drupal/core-recommended 9.5.3 requires drupal/core 9.5.3 -> satisfiable by drupal/core[9.5.3].
- Conclusion: don't install drupal/core 9.5.3 (conflict analysis result)
- drupal/core-recommended 9.5.4 requires drupal/core 9.5.4 -> satisfiable by drupal/core[9.5.4].
- Conclusion: don't install drupal/core 9.5.4 (conflict analysis result)
- drupal/core-recommended 9.5.5 requires drupal/core 9.5.5 -> satisfiable by drupal/core[9.5.5].
- Conclusion: don't install drupal/core 9.5.5 (conflict analysis result)
- drupal/core-recommended 9.5.6 requires drupal/core 9.5.6 -> satisfiable by drupal/core[9.5.6].
- Conclusion: don't install drupal/core 9.5.6 (conflict analysis result)
- drupal/core-recommended 9.5.7 requires drupal/core 9.5.7 -> satisfiable by drupal/core[9.5.7].
- Conclusion: don't install drupal/core 9.5.7 (conflict analysis result)
- drupal/core-recommended 9.5.8 requires drupal/core 9.5.8 -> satisfiable by drupal/core[9.5.8].
- Conclusion: don't install drupal/core 9.5.8 (conflict analysis result)
- Conclusion: don't install drupal/core 10.3.2 (conflict analysis result)
- drupal/core-recommended 9.5.9 requires drupal/core 9.5.9 -> satisfiable by drupal/core[9.5.9].
- Conclusion: don't install drupal/core 9.5.9 (conflict analysis result)
- drupal/core-recommended 9.5.10 requires drupal/core 9.5.10 -> satisfiable by drupal/core[9.5.10].
- Conclusion: don't install drupal/core 9.5.10 (conflict analysis result)
- drupal/core-recommended 9.5.11 requires drupal/core 9.5.11 -> satisfiable by drupal/core[9.5.11].
- Conclusion: don't install drupal/core 9.5.11 (conflict analysis result)
- drupal/color 2.x-dev is an alias of drupal/color dev-2.x and thus requires it to be installed too.
- opigno/opigno_lms 3.1.0 requires drupal/color 2.x-dev -> satisfiable by drupal/color[2.x-dev (alias of dev-2.x)].
- drupal/color[dev-2.x, 2.x-dev] require drupal/core >=10.1.3 || ^11 -> satisfiable by drupal/core[10.1.3, ..., 10.4.x-dev, 11.0.0-alpha1, ..., 11.x-dev].
- You can only install one version of a package, so only one of these can be installed: drupal/core[8.7.0-alpha1, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.5.x-dev, 10.0.0-alpha1, ..., 10.4.x-dev, 11.0.0-alpha1, ..., 11.x-dev].
- drupal/core-recommended 9.5.x-dev requires drupal/core 9.5.x-dev -> satisfiable by drupal/core[9.5.x-dev].
- opigno/opigno_lms 3.1.0 requires drupal/core-recommended ~9.5.0 -> satisfiable by drupal/core-recommended[9.5.0-beta1, ..., 9.5.x-dev].
- drupal/core-recommended 9.5.0-beta1 requires drupal/core 9.5.0-beta1 -> satisfiable by drupal/core[9.5.0-beta1].
- Conclusion: don't install drupal/core 9.5.0-beta1 (conflict analysis result)
Steps to reproduce
composer create-project opigno/opigno-composer example-folder
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes