PHPackages                             coderovich/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. coderovich/yii2-pushover

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

coderovich/yii2-pushover
========================

A Yii2 PushOver log target and pushover messaging component

1.2(7y ago)0261MITPHPPHP &gt;=5.4.0

Since Jan 12Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (6)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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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

Total

3

Last Release

2665d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f9e2e7e6d1a0a0ffdbb65792de37c2cf3b852c983657fae1a144069a91c7b7e?d=identicon)[coderovich](/maintainers/coderovich)

---

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/coderovich-yii2-pushover/health.svg)

```
[![Health](https://phpackages.com/badges/coderovich-yii2-pushover/health.svg)](https://phpackages.com/packages/coderovich-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)
