PHPackages                             deh4eg/omnipay-kevin - 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. deh4eg/omnipay-kevin

ActiveLibrary[Payment Processing](/categories/payments)

deh4eg/omnipay-kevin
====================

Kevin gateway based on omnipay library

v2.0.1(3y ago)332MITPHPPHP ^7.2

Since Mar 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DeH4eG/omnipay-kevin)[ Packagist](https://packagist.org/packages/deh4eg/omnipay-kevin)[ RSS](/packages/deh4eg-omnipay-kevin/feed)WikiDiscussions main Synced 2d ago

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

Omnipay: Kevin Gateway
======================

[](#omnipay-kevin-gateway)

Omnipay Kevin Gateway is a payment processing library for PHP. It's based on [Omnipay package](https://github.com/thephpleague/omnipay)

[![Latest Stable Version](https://camo.githubusercontent.com/bd71dc33e379e51aa6c12f3967d90a31cfa28741182a3d909a041c9191108df6/68747470733a2f2f706f7365722e707567782e6f72672f6465683465672f6f6d6e697061792d6b6576696e2f76)](//packagist.org/packages/deh4eg/omnipay-kevin) [![Total Downloads](https://camo.githubusercontent.com/a5ec986c304dad04416ba18e65b3673322ab81c842128bafb248d9241e0f1cb6/68747470733a2f2f706f7365722e707567782e6f72672f6465683465672f6f6d6e697061792d6b6576696e2f646f776e6c6f616473)](//packagist.org/packages/deh4eg/omnipay-kevin) [![Latest Unstable Version](https://camo.githubusercontent.com/a8f99b6b3dee4564481bc7eaa1f90ca7c4bdc2a9714dda2693a722eaa68c7ca0/68747470733a2f2f706f7365722e707567782e6f72672f6465683465672f6f6d6e697061792d6b6576696e2f762f756e737461626c65)](//packagist.org/packages/deh4eg/omnipay-kevin) [![License](https://camo.githubusercontent.com/a091fec04a909561fee02cb153796851f7c75a4f7e801a0622395ba42b3bb48c/68747470733a2f2f706f7365722e707567782e6f72672f6465683465672f6f6d6e697061792d6b6576696e2f6c6963656e7365)](//packagist.org/packages/deh4eg/omnipay-kevin)

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

[](#installation)

Omnipay is installed via [Composer](https://getcomposer.org/). To install, simply require `league/omnipay` and `deh4eg/omnipay-kevin` with Composer:

`composer require league/omnipay deh4eg/omnipay-kevin`

API docs
--------

[](#api-docs)

Kevin gateway API documentation you can find [here](https://api-reference.kevin.eu/public/platform/v0.3)

Usage
-----

[](#usage)

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay) repository.

Currently, library implements 2 endpoints:

1. [Initiate payment](#1-initiate-payment)
2. [Get payment status](#2-get-payment-status)

Code Examples
-------------

[](#code-examples)

### 1. Initiate payment

[](#1-initiate-payment)

MethodEndpoint`POST`[/pis/payment](https://api-reference.kevin.eu/public/platform/v0.3#tag/Payment-Initiation-Service/operation/initiatePayment)```
use Omnipay\Kevin\Gateway;
use Omnipay\Kevin\Message\Response\PurchaseResponse;
use Omnipay\Omnipay;

/** @var Gateway $gateway */
$gateway = Omnipay::create(Gateway::getGatewayShortName());

$gateway
    ->setClientId('123456789')
    ->setClientSecret('123456789abcdefg');

$options = [
    'amount' => '13.13',
    'currencyCode' => 'EUR', // 3 letter currency code (ISO 4217)
    'description' => 'Testing',
    'bankPaymentMethod' => [
        'endToEndId' => 'order-123', // Max 33 symbols,
        'informationUnstructured' => [
            'reference' => 'order-123'
        ],
        'iban' => 'AA13AAAA123456789',
        'creditorName' => 'Name Surname',
        'creditorAccount' => [ // Must contain at least one of [iban, bban, sortCodeAccountNumber]
            'iban' => 'AA13AAAA123456789'
        ]
    ],
    'identifier' => [
        'email' => 'email@email.com'
    ],
    'cardPaymentMethod' => [], // (optional) To enable card payments
    'redirectUrl' => 'https://example.com/result.php?gateway=Kevin',
    'language' => 'lv', // (optional) Gateway UI language; Available - (en, lt, lv, et, fi, se, ru); Default - en
    'webhookUrl' => 'https://example.com/webhook.php?gateway=Kevin' // (optional) For more details please see https://developer.kevin.eu/platform/payments/payment-verification
];

/** @var PurchaseResponse $response */
$response = $gateway->completePurchase($options)->send();

if ($response->isRedirect()) {
    $response->redirect();
}
```

### 2. Get payment status

[](#2-get-payment-status)

MethodEndpoint`GET`[/pis/payment/{paymentId}/status](https://api-reference.kevin.eu/public/platform/v0.3#tag/Payment-Initiation-Service/operation/getPaymentStatus)```
use Omnipay\Kevin\Gateway;
use Omnipay\Kevin\Message\Response\FetchTransactionResponse;
use Omnipay\Omnipay;

/** @var Gateway $gateway */
$gateway = Omnipay::create(Gateway::getGatewayShortName());

$gateway
    ->setClientId('123456789')
    ->setClientSecret('123456789abcdefg');

$options = [
    'paymentId' => '13' // Payment identification from 'Initiate payment'
];

/** @var FetchTransactionResponse $response */
$response = $gateway->fetchTransaction($options)->send();

if ($response->isSuccessful() && $response->isPaymentCompleted()) {
    // TODO: Payment completed
}
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~137 days

Total

5

Last Release

1326d ago

Major Versions

v0.1.0-RC → v1.0.02021-04-02

v1.1.0 → v2.0.02022-09-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29917428?v=4)[DS](/maintainers/DeH4eG)[@DeH4eG](https://github.com/DeH4eG)

---

Top Contributors

[![DeH4eG](https://avatars.githubusercontent.com/u/29917428?v=4)](https://github.com/DeH4eG "DeH4eG (28 commits)")

---

Tags

paymentgatewaymerchantomnipaykevin

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/deh4eg-omnipay-kevin/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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