PHPackages                             kntodev/yii2-simplemessage - 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. kntodev/yii2-simplemessage

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

kntodev/yii2-simplemessage
==========================

Simple Message Module for Yii2

0.1.x-dev(7y ago)06GPL-3.0+PHP

Since Jul 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kntodev/yii2-simplemessage)[ Packagist](https://packagist.org/packages/kntodev/yii2-simplemessage)[ RSS](/packages/kntodev-yii2-simplemessage/feed)WikiDiscussions master Synced yesterday

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

Yii2 Simplemessage
==================

[](#yii2-simplemessage)

Simple Message Module for Yii2

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist kntodev/yii2-simplemessage "*"

```

or add

```
"kntodev/yii2-simplemessage": "*"

```

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

then add

```
        'messages' => [
            'class' => 'kntodev\simplemessage\Module',
            'channels' => [
                'screen' => [
                    'class' => 'kntodev\simplemessage\channels\ScreenChannel',
                ],
            ],
        ],

to the modules section of your config/main.php

```

Usage
-----

[](#usage)

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

```

```

There are two ways to insert Data

First :

Put following code in your Application

```
use kntodev\simplemessage\Message ;

Message::create([
    'receiver' => [1,2,3,5,6], # where 1,2,3,5,6 are User ID´s
    'subject' => 'test',
    'content' => 'test',
])->send() ;

```

Second :

Controller Actions

```
messages/default/create			# Creates a Message

messages/default/index 			# Lists all Messages

messages/default/view?id=5		# Display a message with the ID 5 (if you are the receiver)
```

Planned for future Version

Add EMail Channel to send Messages via EMail

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2809d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8040d8f20ed8e630d4e26b2b92dfefdaa2c9f429fbbcc8d1b89ea16a8411af98?d=identicon)[kntodev](/maintainers/kntodev)

---

Top Contributors

[![kntodev](https://avatars.githubusercontent.com/u/19587113?v=4)](https://github.com/kntodev "kntodev (10 commits)")

---

Tags

yii2extension

### Embed Badge

![Health badge](/badges/kntodev-yii2-simplemessage/health.svg)

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

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[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)
