PHPackages                             wdmg/yii2-messages - 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. wdmg/yii2-messages

ActiveYii2-extension

wdmg/yii2-messages
==================

Private messages system

1.0.0(2y ago)251221MITPHP

Since Mar 28Pushed 2y ago4 watchersCompare

[ Source](https://github.com/wdmg/yii2-messages)[ Packagist](https://packagist.org/packages/wdmg/yii2-messages)[ Docs](https://github.com/wdmg/yii2-messages)[ RSS](/packages/wdmg-yii2-messages/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (12)Used By (1)

[![Yii2](https://camo.githubusercontent.com/dccea8d8aeed2f3bbad8d539958795bf54a03a62c61f496084516c1b1845a9ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72657175697265642d596969325f76322e302e33332d626c75652e737667)](https://packagist.org/packages/yiisoft/yii2)[![Downloads](https://camo.githubusercontent.com/b502e7f3c8a623fe9064d250f62bd4f2354285c4190f0ec407668ee35c69e6a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77646d672f796969322d6d657373616765732e737667)](https://packagist.org/packages/wdmg/yii2-messages)[![Packagist Version](https://camo.githubusercontent.com/bde098d6d0a470c760b1b323961a602b9486094bca7d643ff081ea9aae71420b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77646d672f796969322d6d657373616765732e737667)](https://packagist.org/packages/wdmg/yii2-messages)[![Progress](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)[![GitHub license](https://camo.githubusercontent.com/dacfa5848cf76acb41394fcc1ac2748d6431a830c14f56e12a3b35b3b17b5af7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77646d672f796969322d6d657373616765732e737667)](https://github.com/wdmg/yii2-messages/blob/master/LICENSE)

Yii2 Private messages Module
============================

[](#yii2-private-messages-module)

System for sending users private messages for Yii2

Requirements
============

[](#requirements)

- PHP 5.6 or higher
- Yii2 v.2.0.20 and newest
- [Yii2 Base](https://github.com/wdmg/yii2-base) module (required)
- [Yii2 Users](https://github.com/wdmg/yii2-users) module (optionaly)

Installation
============

[](#installation)

To install the module, run the following command in the console:

`$ composer require "wdmg/yii2-messages"`

After configure db connection, run the following command in the console:

`$ php yii messages/init`

And select the operation you want to perform:

1. Apply all module migrations
2. Revert all module migrations

Migrations
==========

[](#migrations)

In any case, you can execute the migration and create the initial data, run the following command in the console:

`$ php yii migrate --migrationPath=@vendor/wdmg/yii2-messages/migrations`

Configure
=========

[](#configure)

To add a module to the project, add the following data in your configuration file:

```
'modules' => [
    ...
    'messages' => [
        'class' => 'wdmg\messages\Module',
        'routePrefix' => 'admin'
    ],
    ...
],

```

Routing
=======

[](#routing)

Use the `Module::dashboardNavItems()` method of the module to generate a navigation items list for NavBar, like this:

```

```

Status and version \[in progress development\]
==============================================

[](#status-and-version-in-progress-development)

- v.1.0.0 - Update copyrights, fix nav menu
- v.0.0.10 - Update README.md and dependencies
- v.0.0.9 - Update dependencies, fixed migrations
- v.0.0.8 - Added extra options to composer.json and navbar menu icon
- v.0.0.7 - Added choice param for non interactive mode
- v.0.0.6 - `yii2-users` module set to optionaly

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~155 days

Recently: every ~369 days

Total

11

Last Release

1054d ago

Major Versions

0.0.10 → 1.0.02023-06-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1635637?v=4)[Alexsander Vyshnyvetskyy](/maintainers/alex-wdmg)[@alex-wdmg](https://github.com/alex-wdmg)

---

Top Contributors

[![alex-wdmg](https://avatars.githubusercontent.com/u/1635637?v=4)](https://github.com/alex-wdmg "alex-wdmg (32 commits)")

---

Tags

yii2wdmgyii2-messagesuser messages

### Embed Badge

![Health badge](/badges/wdmg-yii2-messages/health.svg)

```
[![Health](https://phpackages.com/badges/wdmg-yii2-messages/health.svg)](https://phpackages.com/packages/wdmg-yii2-messages)
```

PHPackages © 2026

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