PHPackages                             andreyv/yii2-service-events-client - 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. andreyv/yii2-service-events-client

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

andreyv/yii2-service-events-client
==================================

Allows developers to easily integrate service-events usage

1.2.0(7y ago)012.5k2MITPHPPHP &gt;=7.0.0

Since Jan 18Pushed 7y agoCompare

[ Source](https://github.com/andrey-tm/yii2-service-events-client)[ Packagist](https://packagist.org/packages/andreyv/yii2-service-events-client)[ RSS](/packages/andreyv-yii2-service-events-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

yii2-service-events-client
==========================

[](#yii2-service-events-client)

Yii2 extension allows developers to easily integrate service-events usage.

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

[](#installation)

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

Either run

```
php composer.phar require andreyv/yii2-service-events-client "^1.0"

```

or add

```
"andreyv/yii2-service-events-client": "^1.0"

```

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

Usage
-----

[](#usage)

Add the following to your `bootstrap.php` file

```
Yii::$container->setSingleton(
    indigerd\oauth2\authfilter\Module::class,
    indigerd\oauth2\authfilter\Module::class,
    [
        'authFilter',
        null,
        [
            'authServerUrl' => 'https://auth.example.com/api/v1/',
            'clientId' => 'clientId',
            'clientSecret' => 'clientSecret',
            'testMode' => YII_ENV_TEST,
        ]
    ]
);

Yii::$container->set(
    'ServiceEventsHttpClient',
    GuzzleHttp\Client::class,
    [
        ['base_uri' => 'https://events.example.com/api/v1/'],
    ]
);

Yii::$container->set(
    andreyv\events\services\EventsServiceInterface::class,
    andreyv\events\services\EventsService::class,
    [
        Yii::$container->get('ServiceEventsHttpClient'),
    ]
);
```

Now you can use Events Service through [DI Container](http://www.yiiframework.com/doc-2.0/guide-concept-di-container.html).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 76.2% 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 ~146 days

Total

3

Last Release

2744d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d65eec839f435cbf5d71b98227dbefef0d4c71081d1304b291b0aeea068c54f?d=identicon)[andrey-tm](/maintainers/andrey-tm)

---

Top Contributors

[![andrey-tm](https://avatars.githubusercontent.com/u/23074051?v=4)](https://github.com/andrey-tm "andrey-tm (16 commits)")[![pyatachok](https://avatars.githubusercontent.com/u/2914352?v=4)](https://github.com/pyatachok "pyatachok (5 commits)")

---

Tags

eventsserviceyii2

### Embed Badge

![Health badge](/badges/andreyv-yii2-service-events-client/health.svg)

```
[![Health](https://phpackages.com/badges/andreyv-yii2-service-events-client/health.svg)](https://phpackages.com/packages/andreyv-yii2-service-events-client)
```

PHPackages © 2026

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