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

ActiveLibrary[Payment Processing](/categories/payments)

alegra/omnipay-paypal
=====================

PayPal gateway for Omnipay payment processing library

v3.0.4(5y ago)0591MITPHP

Since Nov 17Pushed 5y agoCompare

[ Source](https://github.com/alegraio/omnipay-paypal)[ Packagist](https://packagist.org/packages/alegra/omnipay-paypal)[ Docs](https://github.com/alegraio/omnipay-paypal)[ RSS](/packages/alegra-omnipay-paypal/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (28)Used By (0)

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

[](#omnipay-paypal)

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

[![Build Status](https://camo.githubusercontent.com/53d161ff381a1b7abfcce3d7f9b556a0714a67049513e76ae5df94ef6ab2fc68/68747470733a2f2f7472617669732d63692e6f72672f7468657068706c65616775652f6f6d6e697061792d70617970616c2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/thephpleague/omnipay-paypal)[![Latest Stable Version](https://camo.githubusercontent.com/ebdc5bcac349117eac0f8dfa3dc1b2e5e49c668250da40f79fd956236ce53d3d/68747470733a2f2f706f7365722e707567782e6f72672f6f6d6e697061792f70617970616c2f76657273696f6e2e706e67)](https://packagist.org/packages/omnipay/paypal)[![Total Downloads](https://camo.githubusercontent.com/ba12ab6714fe63f4ab846d05bc38c1df3f3922212d721add5ddef364fc9c26c1/68747470733a2f2f706f7365722e707567782e6f72672f6f6d6e697061792f70617970616c2f642f746f74616c2e706e67)](https://packagist.org/packages/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 `league/omnipay` and `omnipay/paypal` with Composer:

```
composer require league/omnipay omnipay/paypal

```

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

[](#basic-usage)

The following gateways are provided by this package:

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

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. Extensions to this gateway are always welcome.

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/thephpleague/omnipay-paypal/issues), or better yet, fork the library and submit a pull request.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity73

Established project with proven stability

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

Recently: every ~264 days

Total

26

Last Release

1860d ago

Major Versions

v2.6.4 → v3.0.02018-05-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e9bbe4a0a593616961ad5df2edbaa86e1677a166a87735f1f97dbb1d05f4824?d=identicon)[cansozeri](/maintainers/cansozeri)

---

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 (16 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)")[![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)")[![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)")[![islamdarwish](https://avatars.githubusercontent.com/u/5788924?v=4)](https://github.com/islamdarwish "islamdarwish (4 commits)")[![bradleyboy](https://avatars.githubusercontent.com/u/755001?v=4)](https://github.com/bradleyboy "bradleyboy (4 commits)")[![karneds](https://avatars.githubusercontent.com/u/668462?v=4)](https://github.com/karneds "karneds (3 commits)")[![altmind](https://avatars.githubusercontent.com/u/107891?v=4)](https://github.com/altmind "altmind (3 commits)")[![bamarni](https://avatars.githubusercontent.com/u/1205386?v=4)](https://github.com/bamarni "bamarni (3 commits)")[![ryall](https://avatars.githubusercontent.com/u/161332?v=4)](https://github.com/ryall "ryall (3 commits)")

---

Tags

paymentgatewaypaypalpaymerchantomnipaypurchase

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/alegra-omnipay-paypal/health.svg)](https://phpackages.com/packages/alegra-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)
