PHPackages                             sintret-2017/yii2-chat-adminlte - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sintret-2017/yii2-chat-adminlte

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

sintret-2017/yii2-chat-adminlte
===============================

Yii2 extension for Chat plugin with admin lte

v1.0.0(11y ago)0281MITPHP

Since Jan 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dead142/yii2-chat-adminlte)[ Packagist](https://packagist.org/packages/sintret-2017/yii2-chat-adminlte)[ Docs](https://github.com/sintret/yii2-chat-adminlte)[ RSS](/packages/sintret-2017-yii2-chat-adminlte/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

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-&gt;user-&gt;username
--------------------------------------------------------------------------------------------

[](#fix-bug-yii2-chat-adminlte--trying-to-get-property-of-non-object--model-user-username)

delete avatar
-------------

[](#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 :

```

         \yii\helpers\Url::to(['/chat/send-chat']),
            'userModel'=>  \app\models\User::className(),
            'userField' => 'avatarImage'
                ]); ?>

```

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

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

5

Last Release

4156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/caa72816c522acce8ddca32c4d39dfa47f47bd588895c555931eda1913a9be52?d=identicon)[dead142](/maintainers/dead142)

---

Top Contributors

[![dead142](https://avatars.githubusercontent.com/u/5363936?v=4)](https://github.com/dead142 "dead142 (14 commits)")[![sintret](https://avatars.githubusercontent.com/u/3713124?v=4)](https://github.com/sintret "sintret (12 commits)")

---

Tags

pluginjqueryyii2ajaxAdminLTEchat

### Embed Badge

![Health badge](/badges/sintret-2017-yii2-chat-adminlte/health.svg)

```
[![Health](https://phpackages.com/badges/sintret-2017-yii2-chat-adminlte/health.svg)](https://phpackages.com/packages/sintret-2017-yii2-chat-adminlte)
```

###  Alternatives

[sintret/yii2-chat-adminlte

Yii2 extension for Chat plugin with admin lte

2715.3k3](/packages/sintret-yii2-chat-adminlte)[raoul2000/yii2-scrollup-widget

Wrapper around the Scrollup JQuery plugin

133.4k](/packages/raoul2000-yii2-scrollup-widget)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
