PHPackages                             janwebdev/symfony-omnipay-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. janwebdev/symfony-omnipay-bundle

ActiveLibrary[Payment Processing](/categories/payments)

janwebdev/symfony-omnipay-bundle
================================

Omnipay bundle for Symfony 4.4 / 5.x / 6.x

v1.0.0(3y ago)35.0k1[1 PRs](https://github.com/janwebdev/symfony-omnipay-bundle/pulls)MITPHPPHP ^7.4|^8.0|^8.1

Since Jun 6Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (10)Versions (2)Used By (0)

Symfony framework bundle for Omnipay library
============================================

[](#symfony-framework-bundle-for-omnipay-library)

The following bundle is based on [Omnipay package](https://github.com/thephpleague/omnipay) and its components.
It supports Symfony 4.4, 5.x, 6.x and PHP 7.4+, 8.0.x, 8.1.x

[![Unit Tests](https://github.com/janwebdev/symfony-omnipay-bundle/actions/workflows/run-tests.yml/badge.svg)](https://github.com/janwebdev/symfony-omnipay-bundle/actions/workflows/run-tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/da9f375c09df78420d6b9fc91c3cabdbd68bca4402248e0d37778c3db0e3ac7f/68747470733a2f2f706f7365722e707567782e6f72672f6a616e7765626465762f73796d666f6e792d6f6d6e697061792d62756e646c652f76)](//packagist.org/packages/janwebdev/symfony-omnipay-bundle) [![Total Downloads](https://camo.githubusercontent.com/52aabb3832afdba722441e26ed83c81f45f1b27a0406250f6ec5dfeeca947d20/68747470733a2f2f706f7365722e707567782e6f72672f6a616e7765626465762f73796d666f6e792d6f6d6e697061792d62756e646c652f646f776e6c6f616473)](//packagist.org/packages/janwebdev/symfony-omnipay-bundle) [![Latest Unstable Version](https://camo.githubusercontent.com/2822d45d00c2b296cb630ead03e509ab5e8bbee908a8ca21b8de63accc9d9b19/68747470733a2f2f706f7365722e707567782e6f72672f6a616e7765626465762f6f6d6e697061792d63617264696e6974792f762f756e737461626c65)](//packagist.org/packages/janwebdev/symfony-omnipay-bundle) [![License](https://camo.githubusercontent.com/4f13ac06b7ac3b883295b9edd91b6abe32883bde643b35946dfa6133f88c71d8/68747470733a2f2f706f7365722e707567782e6f72672f6a616e7765626465762f6f6d6e697061792d63617264696e6974792f6c6963656e7365)](//packagist.org/packages/janwebdev/symfony-omnipay-bundle)

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

[](#installation)

via Composer

```
$ composer require janwebdev/symfony-omnipay-bundle
```

Make sure it is enabled in `./config/bundles.php` file:

```
// ...
Janwebdev\OmnipayBundle\OmnipayBundle::class => ['all' => true],
```

Usage
-----

[](#usage)

This bundle provides a new service called `OmnipayManager`. It contains a single method `get()`, which returns a fully-configured gateway. Use dependency injection to use service:

```
