Best practices for new project on yii2 which can be migrated to yii3 easily?

I’m going to start some new project on the top of yii2 because of production readiness. But I am equally aware about yii3 richness. Eventually I want this project to be migrated on yii3 once yii3 become production ready

So I want to understand, what should I not do which could be an impediment for yii2 to yii3 migration?

Thanks


Tarun Jangra

Some of the points are mentioned at https://github.com/yiisoft/docs/blob/master/guide/en/intro/upgrade-from-v2.md#preliminary-refactoring

1 Like

Thanks to come back. It does make sense. I have one more project to migrate to yii3. with your reference, I understood to move most of the business logics in components which will eventually get converted in service. and that will make the migration easier.

Thanks you once again.

Regards
TarunJangra

1 Like