PHPackages                             litlife/enot-io-payments - 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. litlife/enot-io-payments

ActiveLibrary[Payment Processing](/categories/payments)

litlife/enot-io-payments
========================

Package for working with the payment aggregator api enot.io

0.0.7(4y ago)011MITPHPPHP ^7.3|^8.0

Since Aug 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/litlife/enot-io-payments)[ Packagist](https://packagist.org/packages/litlife/enot-io-payments)[ RSS](/packages/litlife-enot-io-payments/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Enot.io payments
================

[](#enotio-payments)

Package for working with the payment aggregator [API enot.io](https://enot.io/knowledge/index)

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install enot-io-payments.

```
composer require litlife/enot-io-payments
```

Usage
-----

[](#usage)

### Generate a payment URL

[](#generate-a-payment-url)

In this example, you can see how to generate a link that the user can click to make a payment

```
use Litlife\EnotIoPayments\EnotIoApi;

$orderAmount = 42.2;
$orderId = 4242;
$currency = 'RUB';
$comment = 'Some text';

$url = (new EnotIoApi())
  ->setMerchantId(424242)
  ->setSecretKey('secret key')
  ->getPaymentUrl($orderAmount, $orderId, $currency, $comment);

print_r($url);
```

Output:

`https://enot.io/pay?m=424242&oa=42.2&o=4242&s=8a7d38fa09963aaadd32a8422fbfd397&cr=RUB&c=Some+text`

### Notifications after payment (webhook, callback)

[](#notifications-after-payment-webhook-callback)

```
use Litlife\EnotIoPayments\EnotIoApi;

$postArray = [
    'merchant' => 150,
    'amount' => 200.00,
    'credited' => 196.00,
    'intid' => 1545855,
    'merchant_id' => 99,
    'method' => 'cd',
    'sign' => 'cd1d6b67f3335038656d9009ab4ecfa9',
    'sign_2' => 'b86410d16a20bb57366d29b0d884bcb2',
    'currency' => 'RUB',
    'commission' => 0.00,
    'payer_details' => '539175******7523',
    'custom_field' => [
        'email' => 'test@email.ru',
        'id_user' => '125454'
    ]
];

$paymentStatus = (new EnotIoApi())
  ->setSecretKey2('secret key 2')
  // validate params with secret key 2
  ->paymentStatus($postArray);

print_r($request->getAmount());
print_r($request->getCredited());
print_r($request->getIntId());
```

Output:

`200.00 196.00 1545855`

### Payment information

[](#payment-information)

```
use Litlife\EnotIoPayments\EnotIoApi;

$shopId = 4242;
$enotTransactionId = 123;
$yourTransactionId = 456;

$paymentInfo = (new EnotIoApi())
  ->setEmail('test@test.com')
  ->setApiKey('api key')
  ->paymentInfo($shopId, $enotTransactionId, $yourTransactionId);

print_r($paymentInfo->getStatus());
print_r($paymentInfo->getCredited());
...
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~61 days

Total

5

Last Release

1501d ago

PHP version history (2 changes)0.0.1PHP ^7.3

0.0.7PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6352d87faeaa45b2da5e0872605cfd08d9a25851f0a54424399c58b8a4f1a14b?d=identicon)[litlife](/maintainers/litlife)

---

Top Contributors

[![litlife](https://avatars.githubusercontent.com/u/22077092?v=4)](https://github.com/litlife "litlife (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/litlife-enot-io-payments/health.svg)

```
[![Health](https://phpackages.com/badges/litlife-enot-io-payments/health.svg)](https://phpackages.com/packages/litlife-enot-io-payments)
```

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k9](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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