# Omnipay

> One consistent PHP API for many payment gateways

Source: https://talira.ai/catalog/omnipay-5n0avcmc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [business / finance / payments / orchestration](https://talira.ai/categories/business/finance/payments/orchestration), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [The League of Extraordinary Packages](https://talira.ai/orgs/thephpleague.md)

Omnipay is a framework-agnostic payment processing library for PHP, from The League of Extraordinary Packages, modelled on Active Merchant. You learn one API for purchases, authorisations, captures, refunds and off-site redirects, and switch payment gateways by changing a package rather than rewriting code. The core is omnipay/common, which every gateway package implements; dozens of gateways (PayPal, Stripe, Authorize.Net, Adyen and many more, official and community-maintained) come as separate Composer packages that talk to each provider's HTTP API through PHP-HTTP, with no dependency on the providers' own SDKs.

## Links

- Website: https://omnipay.thephpleague.com/
- GitHub: https://github.com/thephpleague/omnipay

## Problems it solves

- support several payment gateways in my PHP shop without writing each integration
- switch from one payment provider to another in PHP without rewriting the checkout
- take card payments in a PHP app through a gateway with a consistent API

## Features

- one API for purchase, authorize, capture, refund and void across gateways
- dozens of gateway packages, official and community-maintained
- handles off-site redirects and returns from hosted payment pages
- uses PHP-HTTP, so any HTTP client can be plugged in (Guzzle by default)
- framework agnostic, with an example application

## Limitations

- Not every gateway package supports every operation: one without a feature such as refunds throws BadMethodCallException[^1]

## Trust

Overall: 0.43 out of 1.
Signals: maintenance 0.27, adoption 0.76, momentum 0.47, community 0.88, backing 0.30, extensibility 0.00.

- latest release v3.2.1 5.5 years ago
- 6.1k GitHub stars
- 162 contributors
- accepts sponsorship (Github)
- backed by The League of Extraordinary Packages

Warnings:

- last commit 4 months ago

## Sources

[^1]: https://github.com/thephpleague/omnipay#readme (checked 28 Nov 2026)
[^2]: https://github.com/thephpleague/omnipay-common/blob/master/LICENSE (checked 28 Nov 2026)
