PHPackages                             bileto/omnipay-csob - 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. bileto/omnipay-csob

ActiveLibrary[Payment Processing](/categories/payments)

bileto/omnipay-csob
===================

ČSOB gateway for Omnipay payment processing library

v0.8.0(3y ago)317.3k2[2 issues](https://github.com/bileto/omnipay-csob/issues)MITPHP

Since Jun 25Pushed 1y ago14 watchersCompare

[ Source](https://github.com/bileto/omnipay-csob)[ Packagist](https://packagist.org/packages/bileto/omnipay-csob)[ Docs](https://github.com/bileto/omnipay-csob)[ RSS](/packages/bileto-omnipay-csob/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (12)Used By (0)

Omnipay: ČSOB
=============

[](#omnipay-čsob)

**ČSOB driver for the Omnipay PHP payment processing library**

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements ČSOB Online Payment Gateway support for Omnipay.

ČSOB Online Payment Gateway [documentation](https://github.com/csob/paymentgateway/wiki)

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "bileto/omnipay-csob": "~0.8"
    }
}
```

TL;DR
-----

[](#tldr)

```
use Omnipay\Csob\GatewayFactory;

$publicKey = __DIR__ . '/tests/unit/Sign/assets/mips_iplatebnibrana.csob.cz.pub';
$privateKey = __DIR__ . '/tests/unit/Sign/assets/rsa_A1029DTmM7.key';
$gateway = GatewayFactory::createInstance($publicKey, $privateKey);

try {
    $merchantId = 'A1029DTmM7';
    $orderNo = '12345677';
    $returnUrl = 'http://localhost:8000/gateway-return.php';
    $description = 'Shopping at myStore.com (Lenovo ThinkPad Edge E540, Shipping with PPL)';

    $purchase = new \Omnipay\Csob\Purchase($merchantId, $orderNo, $returnUrl, $description);
    $purchase->setCart([
        new \Omnipay\Csob\CartItem("Notebook", 1, 1500000, "Lenovo ThinkPad Edge E540..."),
        new \Omnipay\Csob\CartItem("Shipping", 1, 0, "PPL"),
    ]);

    /** @var \Omnipay\Csob\Message\ProcessPaymentResponse $response */
    $response = $gateway->purchase($purchase->toArray())->send();

    // Payment init OK, redirect to the payment gateway
    echo $response->getRedirectUrl();
} catch (\Exception $e) {
    dump((string)$e);
}
```

Test Project
------------

[](#test-project)

The project uses PHPUnit and Mockery to provide unit tests.

```
./vendor/bin/phpunit

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~356 days

Recently: every ~656 days

Total

9

Last Release

1131d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ef9d9b4f18ff559cf0dfecccd8593840b04c26c09a95a396d8cdab865aba127?d=identicon)[bileto](/maintainers/bileto)

---

Top Contributors

[![michalsanger](https://avatars.githubusercontent.com/u/2528846?v=4)](https://github.com/michalsanger "michalsanger (21 commits)")[![jspetrak](https://avatars.githubusercontent.com/u/146057?v=4)](https://github.com/jspetrak "jspetrak (6 commits)")

---

Tags

csobcsob-gatewayomnipaypaymentgatewaypaymerchantomnipaypurchasecsob

### Embed Badge

![Health badge](/badges/bileto-omnipay-csob/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)

PHPackages © 2026

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