PHPackages                             mtresk/ego-pay-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. [Payment Processing](/categories/payments)
4. /
5. mtresk/ego-pay-client

ActiveLibrary[Payment Processing](/categories/payments)

mtresk/ego-pay-client
=====================

Клиент для интернет-эквайринга EgoPay

v0.0.1(2y ago)017MITPHPPHP &gt;=8.2

Since May 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mTresk/EgoPayClient)[ Packagist](https://packagist.org/packages/mtresk/ego-pay-client)[ RSS](/packages/mtresk-ego-pay-client/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Клиент для интернет-эквайринга UCS (EgoPay)
===========================================

[](#клиент-для-интернет-эквайринга-ucs-egopay)

Возможности
-----------

[](#возможности)

Проведение платежа

Получение статуса платежа

Установка
---------

[](#установка)

Установите пакет с помощью composer:

```
composer require mtresk/ego-pay-client
```

Использование
-------------

[](#использование)

Пример класса

```
use mTresk\EgoPayClient\EgoPay;

class PaymentService
{
    private EgoPay $client;

    public function __construct()
    {
        $this->client = $this->createClient();
    }

    // Создаем клиент
    public function createClient(): EgoPay
    {
        $login = // логин;
        $password = // пароль;
        $shopId = // id магазина;
        $location = // ссылка сервиса оплаты;
        $uri = // ссылка на сайт;
        $urlOk = // ссылка на удачную оплату;
        $urlFault = // ссылка на неудачную оплату;

        return new EgoPay($shopId, $login, $password, $location, $uri, $urlOk, $urlFault);
    }

    // Создаем платеж
    public function createPayment()
    {
        $payment = [
            'amount' => 1000,
            'order_number' => 001,
            // Опционально
            'customer_id' => 1,
            'customer_name' => 'Maxim Tresk',
            'customer_phone' => '+7(999)999-99-99',
            'customer_email' => 'test@test.ru',
        ];

        // Возвращаем ссылку на оплату
        return $this->client->register($payment);

    }

    public function updateStatus()
    {
        // Получаем статус заказа
        return $this->client->getStatus(001);
    }
}
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

776d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33250247?v=4)[Maxim Tresk](/maintainers/mTresk)[@mTresk](https://github.com/mTresk)

---

Top Contributors

[![mTresk](https://avatars.githubusercontent.com/u/33250247?v=4)](https://github.com/mTresk "mTresk (2 commits)")

### Embed Badge

![Health badge](/badges/mtresk-ego-pay-client/health.svg)

```
[![Health](https://phpackages.com/badges/mtresk-ego-pay-client/health.svg)](https://phpackages.com/packages/mtresk-ego-pay-client)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.1k](/packages/msilabs-bkash)

PHPackages © 2026

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