Download the PHP package sintret-2017/yii2-chat-adminlte without Composer
On this page you can find all versions of the php package sintret-2017/yii2-chat-adminlte. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sintret-2017/yii2-chat-adminlte
More information about sintret-2017/yii2-chat-adminlte
Files in sintret-2017/yii2-chat-adminlte
Download sintret-2017/yii2-chat-adminlte
More information about sintret-2017/yii2-chat-adminlte
Files in sintret-2017/yii2-chat-adminlte
Vendor sintret-2017
Package yii2-chat-adminlte
Short Description Yii2 extension for Chat plugin with admin lte
License MIT
Homepage https://github.com/sintret/yii2-chat-adminlte
Package yii2-chat-adminlte
Short Description Yii2 extension for Chat plugin with admin lte
License MIT
Homepage https://github.com/sintret/yii2-chat-adminlte
Please rate this library. Is it a good library?
Informations about the package yii2-chat-adminlte
yii2-chat-adminlte
yii2 chat widget widget admin lte
Fix bug yii2-chat-adminlte Trying to get property of non-object $model->user->username
delete avatar
add via composer :
"sintret/yii2-chat-adminlte": "dev-master"
You just add table chat to your database with this :
CREATE TABLE `chat` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `userId` INT(11) DEFAULT NULL, `message` TEXT, `updateDate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=INNODB;
and calling the widget in the view :
in your controller eg ChatController action sendChat
public function actionSendChat() { if (!empty($_POST)) { echo \sintret\chat\ChatRoom::sendChat($_POST); } }attribute additional for this widget:
url : your controller/action to post message using ajax
userModel : your user model class name
userField : your avatar image source in your User class, ex: avatarImage
All versions of yii2-chat-adminlte with dependencies
PHP Build Version
Package Version
The package sintret-2017/yii2-chat-adminlte contains the following files
Loading the files please wait ....