PHPackages                             creatortsv/omnipay-manager-bundle - 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. creatortsv/omnipay-manager-bundle

ActiveSymfony-bundle[Payment Processing](/categories/payments)

creatortsv/omnipay-manager-bundle
=================================

Omnipay manager bundle

3.0.2(2y ago)13.7kMITPHPPHP &gt;=8.1

Since Jun 11Pushed 2y ago1 watchersCompare

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

READMEChangelog (8)Dependencies (6)Versions (9)Used By (0)

[![tests](https://github.com/creatortsv/omnipay-manager-bundle/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/creatortsv/omnipay-manager-bundle/actions/workflows/php.yml)

Omnipay Manager Bundle
======================

[](#omnipay-manager-bundle)

This bundle provides you some logic to make your own payment service with different omnipay based gateways.

1. Installation
---------------

[](#1-installation)

Install this bundle via composer

```
composer require creatortsv/omnipay-manager-bundle
```

Make sure that you have installed all the **Omnipay** gateway packages that you're going to use

```
composer require /omnipay-
```

For example, if you are going to use **Kuberaco.com** gateway you must install it

```
composer require creatortsv/omnipay-kuberaco
```

2. Configuration
----------------

[](#2-configuration)

### Default configuration

[](#default-configuration)

The first thing that you should is supposed to create your `Adapter` extended with `AbstractGatewayAdapter` class for each **Omnipay** gateway package which you're going to use

```
// ...
use Creatortsv\OmnipayManagerBundle\Adapter\OmnipayGatewayAdapter;

class MyAdapter extends OmnipayGatewayAdapter
{
    // ...
}
```

This classes will be automatically registered with the `Creatortsv\OmnipayManagerBundle\GatewayManager` by default

The second, your classes should be implemented with required `public static getOmnipayGatewayAlias` method, this method should return the name of the **Omnipay** gateway which will be used with this adapter class

For example:

```
// ...
class MyAdapter extends OmnipayGatewayAdapter
{
    // ...
    public static function getOmnipayGatewayAlias(): string
    {
        return 'Kuberaco';
    }
    // ...
}
```

That's it! All you have to do is write some code. Configure your gateways and create some logic for identical calling gateway methods

> Note: This bundle does not provide you complete functionality to interact with different gateways in the same way. You should write your own logic. Don't forget use interfaces to do this.

### Advanced configuration

[](#advanced-configuration)

As it was described above, your adapter classes, which was implemented with abstract bundle class, will be automatically registered as services into `GatewayManager` class. However, they won't be created until you use them, that means you can configure them as you want.

There are couple different ways to do that:

- Inject in your adapter some services directly from the container
- Inject some other arguments which you can describe in config files
- Override `getHttpClient` and `getHttpRequest` methods to change the default client, and the request objects for the **Omnipay** gateway

How to use
----------

[](#how-to-use)

After you've configured your adapters all you have to do is inject `GatewayManager` into your service class or controller method and use it

```
use Creatortsv\OmnipayManagerBundle\GatewayManager;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;

class MyController extends AbstractController
{
    // ...
    public function createPayment(GatewayManager $manager)
    {
        $response = $manager
            ->get('Kuberaco')
            ->createPayment(); // Your described method to do payment in the same way for different gateways

        // ...
    }
}
```

Done!

> Note: Describing identical method for all gateways depends on **Omnipay** gateway driver

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~111 days

Recently: every ~195 days

Total

8

Last Release

1012d ago

Major Versions

1.0.3 → 2.0.02022-07-08

2.0.0 → 3.0.02023-07-31

PHP version history (2 changes)1.0.0PHP &gt;=7.4

2.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/aea9bfca7442b8c69aa5c1e877ae9fa1ece564d74a2881d41d311a496b743988?d=identicon)[creatortsv](/maintainers/creatortsv)

---

Top Contributors

[![creatortsv](https://avatars.githubusercontent.com/u/38066653?v=4)](https://github.com/creatortsv "creatortsv (15 commits)")[![tsaplin-v](https://avatars.githubusercontent.com/u/169811497?v=4)](https://github.com/tsaplin-v "tsaplin-v (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/creatortsv-omnipay-manager-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/creatortsv-omnipay-manager-bundle/health.svg)](https://phpackages.com/packages/creatortsv-omnipay-manager-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)

PHPackages © 2026

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