Is the concept of Yii 2 modules will be present in Yii 3

Hi Yii 3 contributors,

I would like to know is the concept of Yii 2 modules (https://www.yiiframework.com/doc/guide/2.0/en/structure-modules) will be carry forwarded in Yii 3?

Not as it is. Yii 2 wasn’t able to place route handler (controller/action) at whatever namespace wanted. Yii 3 is able to do so. Therefore, there’s no strict need for a “module”, you can just structure code in whatever style you need.

3 Likes