PHPackages                             overint/php-paypal-ipn - 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. overint/php-paypal-ipn

ActiveLibrary[Payment Processing](/categories/payments)

overint/php-paypal-ipn
======================

PHP Class for verifying PayPal IPN messages

v1.0.5(7y ago)1211.8k4[1 issues](https://github.com/overint/php-paypal-ipn/issues)[4 PRs](https://github.com/overint/php-paypal-ipn/pulls)1MITPHP

Since Sep 18Pushed 3y ago4 watchersCompare

[ Source](https://github.com/overint/php-paypal-ipn)[ Packagist](https://packagist.org/packages/overint/php-paypal-ipn)[ RSS](/packages/overint-php-paypal-ipn/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)DependenciesVersions (6)Used By (1)

PHP-PayPal-IPN
==============

[](#php-paypal-ipn)

PHP Class for verifying PayPal Instant Payment Notification (IPN) messages.
Use the `PaypalIPN` class in your project to handle the encoding of POST data, post back to PayPal, and parsing of the response from PayPal.

To install this package using composer:

```
composer require overint/php-paypal-ipn

```

Example Use Case
----------------

[](#example-use-case)

```
use overint\PaypalIPN;

$ipn = new PaypalIPN();
$ipn->useSandbox();
$verified = $ipn->verifyIPN();
if ($verified){
	//process IPN
}

```

Features
--------

[](#features)

- Switch between live and sandbox by using the `useSandbox` function.
- Verifies an HTTP "200" response status code from the PayPal server.
- Throws various exceptions to differentiate between common errors in code or server configuration versus invalid IPN responses.

Getting Started
---------------

[](#getting-started)

This code is intended for web developers. You should understand how the IPN process works conceptually and you should understand when and why you would be using IPN. Reading the [PayPal Instant Payment Notification Guide](https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNIntro/) is a good place to start.

You should also have a [PayPal Sandbox Account](https://developer.paypal.com) with a test buyer account and a test seller account. When logged into your sandbox account there is an IPN simulator under the 'Test Tools' menu which you can used to test your IPN listener.

Once you have your sandbox account setup, you simply create a PHP script that will be your IPN listener. In that script, use the `PaypalIPN` class as shown above in the example use case.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~162 days

Total

5

Last Release

2882d ago

### Community

Maintainers

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

---

Top Contributors

[![overint](https://avatars.githubusercontent.com/u/16414140?v=4)](https://github.com/overint "overint (21 commits)")

---

Tags

ipnipn-listenerpaypalphpphp-paypal-ipn

### Embed Badge

![Health badge](/badges/overint-php-paypal-ipn/health.svg)

```
[![Health](https://phpackages.com/badges/overint-php-paypal-ipn/health.svg)](https://phpackages.com/packages/overint-php-paypal-ipn)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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