PHPackages                             poprigun/chat - 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. poprigun/chat

ActiveYii2-extension

poprigun/chat
=============

poprigun-chat

v0.3(10y ago)43.1k↓50%2[1 issues](https://github.com/poprigun/chat/issues)BSD-4-ClauseJavaScript

Since Sep 4Pushed 10y ago3 watchersCompare

[ Source](https://github.com/poprigun/chat)[ Packagist](https://packagist.org/packages/poprigun/chat)[ RSS](/packages/poprigun-chat/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

poprigun-chat
=============

[](#poprigun-chat)

poprigun-chat

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require poprigun/chat "*"

```

or add

```
"poprigun/chat": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

`php`

 'path', 'node =&gt; true, 'options' =&gt; \[ 'dialogTime' =&gt; 0, 'messageTime' =&gt; 0, 'form' =&gt; '#poprigun-chat-send-form', \], \]);?&gt; \[ 'receiver\_id' =&gt; $user-&gt;id, 'text' =&gt; 'Message', \], \] )?&gt; `js`

$(window).ready(function(){ poprigunChat.loadDialogs(); poprigunChat.listenServerDialog(); });

Template
--------

[](#template)

Templates build with [Handlebars](http://handlebarsjs.com/)

Migration
---------

[](#migration)

yii migrate --migrationPath=@vendor/poprigun/chat/migrations

Main config
-----------

[](#main-config)

'modules' =&gt; \[ 'poprigun\_chat' =&gt; \[ 'class' =&gt; \\poprigun\\chat\\PChatModule::className(), 'params' =&gt; \[ 'pchat-settings' =&gt; \[ 'userModel' =&gt; \\frontend\\models\\User::className(), 'userAvatarMethod' =&gt; \[ 'class' =&gt;\\frontend\\models\\User::className(), 'method' =&gt;'avatar', \], 'userNameMethod' =&gt; \[ 'class' =&gt;\\frontend\\models\\Profile::className(), 'method' =&gt;'fullName', 'relation' =&gt; 'profile', \], \], \], \], \],

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.6% 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

Unknown

Total

1

Last Release

3909d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3830013?v=4)[poprigun](/maintainers/poprigun)[@poprigun](https://github.com/poprigun)

---

Top Contributors

[![poprigun13](https://avatars.githubusercontent.com/u/11268541?v=4)](https://github.com/poprigun13 "poprigun13 (19 commits)")[![poprigun](https://avatars.githubusercontent.com/u/3830013?v=4)](https://github.com/poprigun "poprigun (4 commits)")

---

Tags

yii2extensionchat poprigun

### Embed Badge

![Health badge](/badges/poprigun-chat/health.svg)

```
[![Health](https://phpackages.com/badges/poprigun-chat/health.svg)](https://phpackages.com/packages/poprigun-chat)
```

###  Alternatives

[bubasuma/yii2-simplechat

A simple chat for your yii2 application

889.5k](/packages/bubasuma-yii2-simplechat)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[onmotion/yii2-telegram

Support chat for site based on Telegram bot

526.3k](/packages/onmotion-yii2-telegram)[joni-jones/yii2-wschat

Online chat based on web sockets and ratchet php

981.3k](/packages/joni-jones-yii2-wschat)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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