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
Requires
- yiisoft/yii2: >=2.0.4
This package is not auto-updated.
Last update: 2024-12-21 21:03:11 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 ] ]