mezzio-skeleton: Error on clean skeleton installation with PHP 8.1 and elie29/zend-phpdi-config

Bug Report

I encountered an error on a clean skeleton installation. I am testing with PHP 8.1 and Composer 2.3.7

image

Q A
Version(s) x.y.z
PHP 8.1
Composer 2.3.7

Summary

I installed Mezzio Skeleton from composer create-project and encountered an error that elie29/zend-phpdi-config was locked at 6.0 and, thus locked into PHP ^7.1. This is not even a module I requested. I requested to use the laminas-servicemanager strategy.

Current behavior

Skeleton not installed. Composer shows an error with an unrequested package. I was able to push through this by manually editing composer.lock and removing the elie29/zend-phpdi-config package entirely.

How to reproduce

  1. Run composer create-project mezzio/mezzio-skeleton mezzio
  2. Select the following: 3 (Modular), 2 (laminas-servicemanager), 1 (FastRoute), n (None of the above), 1 (Whoops)

This is also reproduced with the Minimal installation.

Expected behavior

Skeleton installed.

About this issue

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

Commits related to this issue

Most upvoted comments

@elie29 Go for it. Thanks in advance! 👍🏻

@froschdesign the bridge needs an update to be compatible with php8.1. I am working on it

Hey @elie29, thanks for the feedback: I think you are already discussing this with @samsonasik in #72, sorry for the duplicate noise.

@Ocramius the bridge is maintained, I need more info about the error. For PHP 8+, we need the v8 for the bridge