docs icon indicating copy to clipboard operation
docs copied to clipboard

Guide - Creating a project - Docker composer PHP Version

Open juppwerner opened this issue 4 weeks ago • 1 comments

Hi,

in the chapter "Creating a project", the following code does not work:

"Docker users can run the following command: docker run --rm -it -v "$(pwd):/app" composer/composer create-project yiisoft/app your_project"

" Problem 1 - Root composer.json requires yiisoft/aliases ^3.1 -> satisfiable by yiisoft/aliases[3.1.0]. - yiisoft/aliases 3.1.0 requires php 8.1 - 8.4 -> your php version (8.5.0) does not satisfy that requirement. "

It seems the composer image uses PHP 8.5, but the project template requires 8.1 - 8.4?

Regards Joachim

juppwerner avatar Nov 27 '25 08:11 juppwerner

Will be resolved as soon as all packages will be 8.5-compatible.

samdark avatar Dec 06 '25 18:12 samdark