PHPackages                             receiver/omnipay-antilopay - 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. receiver/omnipay-antilopay

ActiveLibrary[Payment Processing](/categories/payments)

receiver/omnipay-antilopay
==========================

Antilopay gateway for Omnipay

0930↓50%1PHP

Since Nov 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/receiver1/omnipay-antilopay)[ Packagist](https://packagist.org/packages/receiver/omnipay-antilopay)[ RSS](/packages/receiver-omnipay-antilopay/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: Antilopay
==================

[](#omnipay-antilopay)

Antilopay online acquiring support for Omnipay

[![Total Downloads](https://camo.githubusercontent.com/988476118137c8f01f4ae8d60249412a9d3f8d62f4fa7be38723d14e81e4717d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7265636569766572312f6f6d6e697061792d616e74696c6f7061792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/receiver1/omnipay-antilopay)[![Latest Version](https://camo.githubusercontent.com/898639ebe4ff77a7efa75eac3646e582d55ea0b1b6f2b39a19a02544473af03f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265636569766572312f6f6d6e697061792d616e74696c6f7061792e7376673f7374796c653d666c61742d737175617265)](https://github.com/receiver1/omnipay-antilopay/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Already Implemented
-------------------

[](#already-implemented)

- Payment creation
- Payment notifications

To Be Implemented
-----------------

[](#to-be-implemented)

- Payment information
- Payment cancellation
- Withdraw creation
- Withdraw information
- Refund creation
- Refund information
- Project balance
- Error codes

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

[](#installation)

```
composer require league/omnipay receiver/omnipay-antilopay
```

Usage
-----

[](#usage)

### Gateway Initialization

[](#gateway-initialization)

```
// Create a new payment gateway
$gateway = Omnipay::create('Antilopay');

// Set the secret code
$gateway->setProjectId('PROJECT ID');
$gateway->setSecretId('SECRET ID');
// Antilopay uses RSA keys, so you need to make PEM inserts so that OpenSSL can distinguish it. It will be more efficient to load the key from a file.
$gateway->setSecretKey("-----BEGIN RSA PRIVATE KEY-----\nSECRET KEY\n-----END RSA PRIVATE KEY-----");
$gateway->setCallbackKey("-----BEGIN PUBLIC KEY-----\nCALLBACK KEY\n-----END PUBLIC KEY-----");
```

### Payment Creation

[](#payment-creation)

```
// Create a new payment for 100 rubles 00 kopecks
$purchaseRequest = $gateway->purchase([
  'amount' => 100,
  'orderId' => '1',
  'product_name' => 'Balance top-up',
  'product_type' => 'goods',
  'product_quantity' => 100,
  'vat' => 10,
  'description' => 'Balance top-up 1337 Cheats',
  'returnUrl' => 'https://leet-cheats.ru/payment/success',  // success_url
  'cancelUrl' => 'https://leet-cheats.ru/payment/fail',     // fail_url
  'customer' => new CustomerReference(
    email: 'customer-email@example.com',
    phone: '1234567890',
    address: '123 Customer Street',
    ip: '192.168.0.1',
    fullname: 'Customerov Customer Customerovich'
  ),
  'prefer_methods' => ['SBP', 'SBER_PAY', 'CARD_RU'],
]);
// alternative way to set data
$purchaseRequest->setAmount(100);
$purchaseRequest->setOrderId('1');
$purchaseRequest->setProductName('Balance top-up');
$purchaseRequest->setProductType('goods');
$purchaseRequest->setProductQuantity(100);
$purchaseRequest->setVat(10);
$purchaseRequest->setDescription('Balance top-up 1337 Cheats');
$purchaseRequest->setReturnUrl('https://leet-cheats.ru/payment/success');
$purchaseRequest->setCancelUrl('https://leet-cheats.ru/payment/fail');
$purchaseRequest->setCustomer(new CustomerReference(
  email: 'customer-email@example.com',
  phone: '1234567890',
  address: '123 Customer Street',
  ip: '192.168.0.1',
  fullname: 'Customerov Customer Customerovich'
));
$purchaseRequest->setPreferMethods(['SBP', 'SBER_PAY', 'CARD_RU']);

$purchaseResponse = $purchaseRequest->send();
if (!$purchaseResponse->isSuccessful()) {
  throw new Error($response->getMessage(), $response->getCode());
}

// Get the payment identifier in Antilopay
$invoiceId = $purchaseResponse->getTransactionId();
// Get the link to the Antilopay payment form
$redirectUrl = $purchaseResponse->getRedirectUrl();
```

### Payment Verification

[](#payment-verification)

```
$notification = $gateway->acceptNotification($data);
if (
  $notification->isValid() &&
  $notification->getTransactionStatus()
    === NotificationInterface::STATUS_COMPLETED
) {
  /** @var TransactionReference $transaction */
  $transaction = $notification->getTransactionReference();
  var_dump([
    $transaction->getOrderId(),
    $transaction->getAmount(),
    $transaction->getOriginalAmount(),
    $transaction->getFee(),
    $transaction->getCurrency(),
    $transaction->getProductName(),
    $transaction->getDescription(),
    $transaction->getPayMethod(),
    $transaction->getPayData(),
    $transaction->getCustomerIp(),
    $transaction->getCustomerUserAgent(),
  ]);

  $customer = $transaction->getCustomer();
  var_dump([
    $customer->getEmail(),
    $customer->getPhone(),
    $customer->getAddress(),
    $customer->getIp(),
    $customer->getFullname(),
  ]);
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity16

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://www.gravatar.com/avatar/12e6c6c9c9ef7bf96a0f37acf2fd34738fa4f6f2f16a66f9b44c2e82972dc17c?d=identicon)[receiver](/maintainers/receiver)

---

Top Contributors

[![receiver1](https://avatars.githubusercontent.com/u/62743649?v=4)](https://github.com/receiver1 "receiver1 (18 commits)")

### Embed Badge

![Health badge](/badges/receiver-omnipay-antilopay/health.svg)

```
[![Health](https://phpackages.com/badges/receiver-omnipay-antilopay/health.svg)](https://phpackages.com/packages/receiver-omnipay-antilopay)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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