An extension providing an interactive shell for Yii framework 2.0 based on psysh was adopted under yiisoft GitHub organization recently.
There are no releases yet but you may already try it.
[InvalidArgumentException]
Could not find package yiisoft/yii2-shell at any version for your minimum-stab
ility (stable). Check the package spelling or your minimum-stability
[InvalidArgumentException]
Could not find package yiisoft/yii2-shell at any version for your minimum-stab
ility (stable). Check the package spelling or your minimum-stability
Yes. It's not stable yet.