black-lamp/blcms-chat

Component with basic methods for work with chat for Black Lamp CMS

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2016-10-18 10:50 UTC

README

Installation

Run command

composer require black-lamp/blcms-chat

or add

"black-lamp/blcms-chat": "*"

to the require section of your composer.json.

Applying migrations

yii migrate --migrationPath=@vendor/black-lamp/blcms-chat/migrations

Add 'ChatBase' component to application config

'components' => [
      // ...
      'mainChat' => [
          'class' => bl\cms\chat\ChatBase::className(),
          'enableMessageModeration' => true // for moderation messages in the chat
      ]
 ]