PHPackages                             paysera/lib-event-notification-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. [API Development](/categories/api)
4. /
5. paysera/lib-event-notification-client

ActiveLibrary[API Development](/categories/api)

paysera/lib-event-notification-client
=====================================

PHP REST Client for Paysera event notifications

1.0.0(6y ago)019.6k—6.7%2PHPPHP &gt;=5.5

Since May 22Pushed 6y ago8 watchersCompare

[ Source](https://github.com/paysera/lib-event-notification-client)[ Packagist](https://packagist.org/packages/paysera/lib-event-notification-client)[ RSS](/packages/paysera-lib-event-notification-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

paysera-event-notification-client
---------------------------------

[](#paysera-event-notification-client)

Provides methods to manipulate `EventNotification` API. It automatically authenticates all requests and maps required data structure for you.

#### Usage

[](#usage)

This library provides `ClientFactory` class, which you should use to get the API client itself:

```
use Paysera\Client\EventNotificationClient\ClientFactory;

$clientFactory = ClientFactory::create([
    'base_url' => 'https://checkout-eu-a.paysera.com/notification/rest/v1/', // optional, in case you need a custom one.
    'basic' => [                                        // use this, it API requires Basic authentication.
        'username' => 'username',
        'password' => 'password',
    ],
    'oauth' => [                                        // use this, it API requires OAuth v2 authentication.
        'token' => [
            'access_token' => 'my-access-token',
            'refresh_token' => 'my-refresh-token',
        ],
    ],
    // other configuration options, if needed
]);

$eventNotificationClient = $clientFactory->getEventNotificationClient();
```

Please use only one authentication mechanism, provided by `Vendor`.

Now, that you have instance of `EventNotificationClient`, you can use following methods

### Methods

[](#methods)

Mark(read) notification as processed

```
$result = $eventNotificationClient->readNotification($notificationId);
```

---

Get notification with resolved data

```
$result = $eventNotificationClient->getNotification($notificationId);
```

---

Get filtered notifications with resolved data

```
use Paysera\Client\EventNotificationClient\Entity as Entities;

$notificationFilter = new Entities\NotificationFilter();

$notificationFilter->setStatus($status);

$result = $eventNotificationClient->getNotifications($notificationFilter);
```

---

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

2554d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d385187c2b529d5c1189dfc3763972f76738d24293593ff3db876fff82321db?d=identicon)[paysera.com](/maintainers/paysera.com)

---

Top Contributors

[![feraldrood](https://avatars.githubusercontent.com/u/7203522?v=4)](https://github.com/feraldrood "feraldrood (3 commits)")[![velser](https://avatars.githubusercontent.com/u/10587651?v=4)](https://github.com/velser "velser (1 commits)")

### Embed Badge

![Health badge](/badges/paysera-lib-event-notification-client/health.svg)

```
[![Health](https://phpackages.com/badges/paysera-lib-event-notification-client/health.svg)](https://phpackages.com/packages/paysera-lib-event-notification-client)
```

###  Alternatives

[phptcloud/isdayoff-sdk

PHP SDK for isdayof.ru

2748.3k](/packages/phptcloud-isdayoff-sdk)[lmc/matej-client

API Client for Matej recommendation engine

1159.5k](/packages/lmc-matej-client)

PHPackages © 2026

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