PHPackages                             fgh151/yii2-pushall-logger - 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. fgh151/yii2-pushall-logger

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

fgh151/yii2-pushall-logger
==========================

Yii2 pushall.ru logger

110PHPCI passing

Since Jun 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fgh151/yii2-pushall)[ Packagist](https://packagist.org/packages/fgh151/yii2-pushall-logger)[ RSS](/packages/fgh151-yii2-pushall-logger/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 [pushall.ru](pushall.ru)
=============================

[](#yii2-pushallru)

Yii2 pushall.ru module

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist fgh151/yii2-pushall "*"

```

or add

```
"fgh151/yii2-pushall": "*"

```

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

Add to params file:

```
'PushallFeedId' => 111 //Your feed id. It mast be integer,
'PushallKey' => 'Your feed key',
```

Usage
-----

[](#usage)

\###Logs

How to get feed id and key see [documentation](https://pushall.ru/blog/create)

Add to config file pushall log target. For example in `/config/main.php`

```
[
    'bootstrap' => ['log'],
    'components' => [
        'log' => [
            'targets' => [
                [
                    'class' => 'fgh151\pushall\PushallTarget',
                    'levels' => ['error', 'warning'],
                ],
            ],
        ],
    ],
]
```

\###Behavior

You can add behavior to model, that will send message after model save. Example: in model class add

```
 /**
     * @return array
     */
    public function behaviors()
    {
        return [
            'class' => fgh151\pushall\PushallBehavior::className(),
            //Attribute that contain title
            'titleAttribute' => 'title',
            //Attribute that contain text message
            'messageAttribute' => 'intro',
            //Optional. String that contain full url to view page
            'url' => Yii::$app->urlManager->createAbsoluteUrl(['controller/view', 'id' => $this->id]),
            //Optional. Contain custom feed id. If not set use from params
            'feedId' => 0000,
            //Optional. Contain custom feed key. If not set use from params
            'feedKey' => 'Your feed key',
            //Optional. Chanel type. Defaul broadcast.
            //Can be: broadcast, unicast, self
            'chanelType' => 'broadcast'
        ];
    }
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/645524?v=4)[Fedor Gorsky](/maintainers/fgh151)[@fgh151](https://github.com/fgh151)

---

Top Contributors

[![fgh151](https://avatars.githubusercontent.com/u/645524?v=4)](https://github.com/fgh151 "fgh151 (6 commits)")

### Embed Badge

![Health badge](/badges/fgh151-yii2-pushall-logger/health.svg)

```
[![Health](https://phpackages.com/badges/fgh151-yii2-pushall-logger/health.svg)](https://phpackages.com/packages/fgh151-yii2-pushall-logger)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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