Using Yii1 and Yii2 in the same project
I had a project in Yii1.x and now I am using Yii2 for the same projects Project hierarchy is something like this Project1(yii1)/all yii files + project2(yii2) project2(yii2)/frontend + /common + /backend Now I want to know if is it possible to use project2/common/models in project1/protected/controllers How can I achieve this task? Thank you I wouldn't recommend doing it, instead it's better to completely rewrite old application in Yii2. But in case of partial migrating, please read this paragraph in Special Topics Section in Official Guide. Here are some important code snippets from there: 1)