C:\osp6\home>composer create-project --stability=dev yiisoft/app myproject
Creating a “yiisoft/app” project at “./myproject”
Installing yiisoft/app (1.0.x-dev 855d89d20511cfc18eade48c9ef0bc1fd543505f)
- Installing yiisoft/app (dev-master 855d89d): Extracting archive
Created project in C:\osp6\home\myproject
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires yiisoft/yii-gii dev-master → satisfiable by yiisoft/yii-gii[dev-master].
- yiisoft/yii-gii dev-master requires yiisoft/yii-middleware dev-master → found yiisoft/yii-middleware[dev-master] but it conflicts with your root composer.json require (^1.0).
So, I just tried this out of curiosity (I am not yet using Yii3). I got similar errors to @marcoto except for yii-gii. My default php -v is 8.4.5 so I decided to re-run the cmd using php8.3 and got some errors in packages like yii-view and yii-debug.
I then re-run the cmd 1 more time using php8.2 and everything went smoothly.
I checked the Requirements section in README and it says PHP 8.1 or higher. May be a note could added for the time being saying “Tested (or Works) up to 8.2”