PHPackages                             consynki/yii2-pushover - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. consynki/yii2-pushover

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

consynki/yii2-pushover
======================

A Yii2 PushOver log target and pushover messaging component

1.1.0(10y ago)06.4k2[2 PRs](https://github.com/levi-putna/yii2-pushover/pulls)MITPHPPHP &gt;=5.4.0

Since Jan 12Pushed 7y ago2 watchersCompare

[ Source](https://github.com/levi-putna/yii2-pushover)[ Packagist](https://packagist.org/packages/consynki/yii2-pushover)[ RSS](/packages/consynki-yii2-pushover/feed)WikiDiscussions master Synced 1mo ago

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

Yii2 PushOver
=============

[](#yii2-pushover)

Yii2 Pushover provides a component and log targets to send Pushover () messages.

Install
-------

[](#install)

```
composer require consynki/yii2-pushover "*"

```

Or add `"consynki/yii2-pushover": "*"` to your composer.json file and run composer update

In config file:

```
'components' => [
    'pushover' => [
        'class' => 'consynki\yii\pushover\Pushover',
    	'user_key' => '',
    	'api_key' => '',

    ],
    'log' => [
        'targets' => [
            [
                'class' => 'consynki\yii\pushover\Target',
                'levels' => ['error'],
                'except' => ['yii\web\HttpException:404'],
            ]
        ],
    ],
]
```

You only need to confider the log target if you wish to send messages to pushover via the logging system. If you wish you can manual send messages directly via the component.

The log trace will support any additional standard [Yii2 log target](http://www.yiiframework.com/doc-2.0/yii-log-target.html) params.

It is recommended to limit the number of messages that are sent via pushover to critical issues. The best option is to only send errors, in addition you can ignore particular common error types events 404

If application doesn't have `pushover` component, no errors will try to be logged to pushover. This is useful for development environments, for example.

Usage
-----

[](#usage)

### Pushover Component

[](#pushover-component)

If you would like to send a message without using the log target you can simply use the component directly

```
Yii::$app->pushover->send($message, $title, $sound);
```

### Log Target

[](#log-target)

Exceptions and PHP errors are caught without effort. Standart `Yii::(error|warning|info|trace)` logging works as usual, but you also can use the following format:

```
Yii::error('Error Message', 'Error Category')
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Every ~15 days

Total

2

Last Release

3755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9261def3f22a171cc7474225691d365c29aa8f207f5463c5a882313309068b2c?d=identicon)[levi-putna](/maintainers/levi-putna)

---

Top Contributors

[![levi-putna](https://avatars.githubusercontent.com/u/582019?v=4)](https://github.com/levi-putna "levi-putna (12 commits)")

---

Tags

logyii2pushover

### Embed Badge

![Health badge](/badges/consynki-yii2-pushover/health.svg)

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

###  Alternatives

[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3456.3k](/packages/lav45-yii2-activity-logger)

PHPackages © 2026

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