Create Wp Blog For Users Who Are Registered On Yii Application

Hi, i am working on a project in which i have to create a WP blog who will register on YII application.When user will register, a WP blog will be created.

Please give me some suggestions how i can implement it.