PHPackages                             knit-pay/omnipay-paypal - 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. knit-pay/omnipay-paypal

ActiveLibrary[Payment Processing](/categories/payments)

knit-pay/omnipay-paypal
=======================

PayPal gateway for Omnipay payment processing library

v1.0.3(5mo ago)216MITPHPPHP ^7.2|^8.0

Since Dec 5Pushed 5mo agoCompare

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

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Omnipay: PayPal
===============

[](#omnipay-paypal)

**PayPal driver for the Omnipay PHP payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/aad54e7a917002cd6c29bb5483d48f8c8769e08b81595f0f6738cf0bf29d0be9/687474703a2f2f706f7365722e707567782e6f72672f6b6e69742d7061792f6f6d6e697061792d70617970616c2f76)](https://packagist.org/packages/knit-pay/omnipay-paypal) [![Total Downloads](https://camo.githubusercontent.com/aa4a5b16cf67ec03ae1d276b3b6b32c0bd0e6861c22970c2689ca05d8883ceb5/687474703a2f2f706f7365722e707567782e6f72672f6b6e69742d7061792f6f6d6e697061792d70617970616c2f646f776e6c6f616473)](https://packagist.org/packages/knit-pay/omnipay-paypal) [![Latest Unstable Version](https://camo.githubusercontent.com/b0ed47559787c523a912256505286d8f94c626c97806767be5a9d78d00c08e3b/687474703a2f2f706f7365722e707567782e6f72672f6b6e69742d7061792f6f6d6e697061792d70617970616c2f762f756e737461626c65)](https://packagist.org/packages/knit-pay/omnipay-paypal) [![License](https://camo.githubusercontent.com/cd72555fd1008cc80917549153afd69e4c475698818d280bef21d1762072149b/687474703a2f2f706f7365722e707567782e6f72672f6b6e69742d7061792f6f6d6e697061792d70617970616c2f6c6963656e7365)](https://packagist.org/packages/knit-pay/omnipay-paypal) [![PHP Version Require](https://camo.githubusercontent.com/e519c08abdfd05af9a2fc144f0abd26d81ae55515876fb2847287129caabc669/687474703a2f2f706f7365722e707567782e6f72672f6b6e69742d7061792f6f6d6e697061792d70617970616c2f726571756972652f706870)](https://packagist.org/packages/knit-pay/omnipay-paypal)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP. This package implements PayPal support for Omnipay.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply require `omnipay/common` and `knit-pay/omnipay-paypal` with Composer:

```
composer require omnipay/common knit-pay/omnipay-paypal

```

Basic Usage
-----------

[](#basic-usage)

The following gateways are provided by this package:

- PayPal\_Rest (Paypal Rest API)
- PayPal\_Express (PayPal Express Checkout)
- PayPal\_ExpressInContext (PayPal Express In-Context Checkout)
- PayPal\_Pro (PayPal Website Payments Pro)

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

Quirks
------

[](#quirks)

The transaction reference obtained from the purchase() response can't be used to refund a purchase. The transaction reference from the completePurchase() response is the one that should be used.

Out Of Scope
------------

[](#out-of-scope)

Omnipay does not cover recurring payments or billing agreements, and so those features are not included in this package.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/knit-pay/omnipay-paypal/issues), or better yet, fork the library and submit a pull request.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance73

Regular maintenance activity

Popularity11

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

154d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1818f8924f951fcb0c9f82c77008d2b81e96de33f3b08d1b0bb89dee4606b66e?d=identicon)[knit-pay](/maintainers/knit-pay)

---

Top Contributors

[![amacneil](https://avatars.githubusercontent.com/u/637671?v=4)](https://github.com/amacneil "amacneil (87 commits)")[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (74 commits)")[![greydnls](https://avatars.githubusercontent.com/u/1276798?v=4)](https://github.com/greydnls "greydnls (29 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (19 commits)")[![pohnean](https://avatars.githubusercontent.com/u/846343?v=4)](https://github.com/pohnean "pohnean (14 commits)")[![bencromwell](https://avatars.githubusercontent.com/u/683855?v=4)](https://github.com/bencromwell "bencromwell (9 commits)")[![lukeholder](https://avatars.githubusercontent.com/u/133571?v=4)](https://github.com/lukeholder "lukeholder (7 commits)")[![amrfayad](https://avatars.githubusercontent.com/u/17238415?v=4)](https://github.com/amrfayad "amrfayad (7 commits)")[![knit-pay](https://avatars.githubusercontent.com/u/65900807?v=4)](https://github.com/knit-pay "knit-pay (6 commits)")[![nicksnellockts](https://avatars.githubusercontent.com/u/15774335?v=4)](https://github.com/nicksnellockts "nicksnellockts (6 commits)")[![leith](https://avatars.githubusercontent.com/u/647389?v=4)](https://github.com/leith "leith (6 commits)")[![davidkoberan](https://avatars.githubusercontent.com/u/14921100?v=4)](https://github.com/davidkoberan "davidkoberan (5 commits)")[![martinbean](https://avatars.githubusercontent.com/u/167312?v=4)](https://github.com/martinbean "martinbean (5 commits)")[![bradleyboy](https://avatars.githubusercontent.com/u/755001?v=4)](https://github.com/bradleyboy "bradleyboy (4 commits)")[![islamdarwish](https://avatars.githubusercontent.com/u/5788924?v=4)](https://github.com/islamdarwish "islamdarwish (4 commits)")[![rumeau](https://avatars.githubusercontent.com/u/2340790?v=4)](https://github.com/rumeau "rumeau (4 commits)")[![fraterblack](https://avatars.githubusercontent.com/u/4051452?v=4)](https://github.com/fraterblack "fraterblack (4 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (3 commits)")[![altmind](https://avatars.githubusercontent.com/u/107891?v=4)](https://github.com/altmind "altmind (3 commits)")[![karneds](https://avatars.githubusercontent.com/u/668462?v=4)](https://github.com/karneds "karneds (3 commits)")

---

Tags

paymentgatewaypaypalpaymerchantomnipaypurchase

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/knit-pay-omnipay-paypal/health.svg)

```
[![Health](https://phpackages.com/badges/knit-pay-omnipay-paypal/health.svg)](https://phpackages.com/packages/knit-pay-omnipay-paypal)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[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)
