Intigrate Two Databases In Yii Frame Work

Hi ,

I have two data bases

in local i use for one db as dbname.tablename

in live they have diffrent usernames and diffrent passwords…

then how can i intigrate…

I know that in Yii 1.1 you have this extension :

Maybe can you reuse or recode this for Yii 2 ;)

Look at the Gii 1.x extension documentation Timmy78 refers to and setup your database connections in your configuration file using the same approach. After generating your crud, you need to change the connection manually, at least until someone creates a similar Gii extension for Yii 2.x.