How to use yii2.0 to cooperate with mongodb as the background authority control system? ? ?

  mongodb, question

Ladies and gentlemen, how do you use yii2.0 to cooperate with mongodb as the background authority control system? ? ?

In fact, only the background database is changed from mysql to mongodb, and the rest of the ideas are the same. It has nothing to do with the database.