PHPackages                             pcrt/yii2-notify - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. pcrt/yii2-notify

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

pcrt/yii2-notify
================

Yii2-notify component

1.0.12(4y ago)0211BSD-3-ClausePHP

Since May 28Pushed 4y agoCompare

[ Source](https://github.com/pcrt/yii2-notify)[ Packagist](https://packagist.org/packages/pcrt/yii2-notify)[ RSS](/packages/pcrt-yii2-notify/feed)WikiDiscussions master Synced today

READMEChangelog (8)DependenciesVersions (8)Used By (0)

Yii2-Datepicker
===============

[](#yii2-datepicker)

[Daterangepicker](http://www.daterangepicker.com/) gives you a customizable daterangepicker with support for multidate, time, localization and many other highly used options.

\##Installation

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

Either run

```
$ php composer.phar require pcrt/yii2-notify "*"

```

or add

```
"pcrt/yii2-notify": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, modify your application configuration to include:

```
'components' => [
    'notification' => [
      'class' => 'pcrt\component\Notification',
      'mainpath' => '/mail/template/',
      'overridepath' => '/mail/override/',
      'notifier_email' => 'info@protocollicreativi.it'
    ],
    ....
    ....
  ]
```

If you want to log information relative to message sent can add a specific rules to log config

```
'log' => [
    'targets' => [
        [
            'class' => 'yii\log\FileTarget',
            'levels' => ['info', 'error', 'warning'],
            'categories' => ['notification'],
            'logVars' => [],
            'logFile' => '@runtime/logs/notification.log',
        ],
        ...
        ...
    ],
],
```

Now you can use the component inside your action or view

```
  Yii::$app->notification->send('test', [], 'info@protocollicreativi.it', 'test');
```

The first params is template name, the library find the template in ovveride path, then in the main path and mathc the first .

The second params is an array passed to mail template as params .

The third params is the destination email address .

The fourth params is the mail subject .

License
-------

[](#license)

Yii2-Datepicker is released under the BSD-3 License. See the bundled `LICENSE.md` for details.

Enjoy!

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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 ~141 days

Recently: every ~205 days

Total

7

Last Release

1695d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f6ad6343f484e9e2ee1c530ec7c4067ad974f540cff580dce786b8953f3fdd1?d=identicon)[protocolli](/maintainers/protocolli)

---

Top Contributors

[![pcrt](https://avatars.githubusercontent.com/u/44270932?v=4)](https://github.com/pcrt "pcrt (7 commits)")[![fr00ller](https://avatars.githubusercontent.com/u/722758?v=4)](https://github.com/fr00ller "fr00ller (5 commits)")[![Giacomo411](https://avatars.githubusercontent.com/u/7260542?v=4)](https://github.com/Giacomo411 "Giacomo411 (1 commits)")

---

Tags

mailnotificationyii2

### Embed Badge

![Health badge](/badges/pcrt-yii2-notify/health.svg)

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

###  Alternatives

[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

77199.7k5](/packages/loveorigami-yii2-notification-wrapper)[baibaratsky/php-mailgun

Mailgun API PHP library and Yii extension (as well as Yii2)

3224.6k](/packages/baibaratsky-php-mailgun)[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.0k](/packages/yarcode-yii2-mailgun-mailer)

PHPackages © 2026

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