Yii2 run multiple websites using single core code and multiple database,themes

Hi,

Is it possible with Yii2, I can run multiple websites using single core code and multiple database, themes.

Suppose I have 30+ websites , each website has own database and own theme(theme name is same for all), currently we are running these website using custom php and smarty but our organization want to move on framework.

Can you please suggest me how I can satisfy them that Yii2 framework can do this! if someone share working example that would be great.




     www.abc1.com

     www.abc1.com/admin


     www.abc2.com

     www.abc2.com/admin

In above example frontend and admin php code is separate.

Thanks