Current version of Yii 2 not ready for PHP 8.2.x
As confirmed in here, if your to create a brand new Yii 2 project, i.e.:
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
you’ll face following error (short version):
Your requirements could not be resolved to an installable set of packages.
This is normal and you must execute some more commands as a workaround.Read More “Current version of Yii 2 not ready for PHP 8.2.x”