docs
docs copied to clipboard
Guide - Creating a project - Docker composer PHP Version
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
Will be resolved as soon as all packages will be 8.5-compatible.