Installation The preferred way to install this extension is through composer. Either run php composer.phar require --prefer-dist ommu/yii2-centrifugo "dev-master" or "ommu/yii2-centrifugo": "dev-master" to the require section of your composer.json.