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

Abandoned → [paypal/sdk-core-php](/?search=paypal%2Fsdk-core-php)Library[Payment Processing](/categories/payments)

mcfedr/paypal
=============

Paypal

5.0.0(11y ago)983MITPHPPHP &gt;=5.4.0

Since Apr 17Pushed 9y ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (12)Used By (0)

Paypal
======

[](#paypal)

A simple SDK for dealing with the Paypal API from PHP.

[![Latest Stable Version](https://camo.githubusercontent.com/424e3bddf328cb9ed99209efb3efacaeba9ba684cb26ae4b76a9a8cef62bcfb1/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f70617970616c2f762f737461626c652e706e67)](https://packagist.org/packages/mcfedr/paypal)[![License](https://camo.githubusercontent.com/3e082a4fcf95903d38afadd4146ee7340864aff049e3885fdfe80c3bb5f61318/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f70617970616c2f6c6963656e73652e706e67)](https://packagist.org/packages/mcfedr/paypal)[![Build Status](https://camo.githubusercontent.com/f40a8cf7af6446b1b563c49fad02fa94bf6417c35bf887b7768d59ea102c1cd9/68747470733a2f2f7472617669732d63692e6f72672f6d63666564722f70617970616c2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mcfedr/paypal-php)[![SensioLabsInsight](https://camo.githubusercontent.com/47460f585009e91065a606d9f4e2e49857bde7746d99b538f36c54bd6a3fa06e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65626330623631652d333563382d346432362d623238662d6137326635323462383764652f6d696e692e706e67)](https://insight.sensiolabs.com/projects/ebc0b61e-35c8-4d26-b28f-a72f524b87de)

Features
--------

[](#features)

- Generate button code
    - Single product
    - Multi-product (cart)
    - Subscriptions
- Handle Instant Notifcations
    - Handles verification with paypal
    - All types of payment notifcations
    - Subscription related notifcations
- Mass Payments
    - Instantly send money to other paypal users
- Modern PHP5 features
    - Namespaced
    - Autoloading
    - Exceptions

All of this with a consistent and simple API.

Docs
----

[](#docs)

Check the [current docs](http://mcfedr.github.io/paypal-php/) on the otherside.

Alternatively just run [`apigen`](http://apigen.org/) once you have cloned the repo

Install
-------

[](#install)

### Composer

[](#composer)

[Composer](http://getcomposer.org/) is the best way to get started with an new project. This package is not far away… [Paypal at Packagist](https://packagist.org/packages/mcfedr/paypal)

```
composer require mcfedr/paypal

```

### Standard

[](#standard)

The other choice is to checkout the code, and register it with your autoloader. If you need one [ClassLoader](https://github.com/symfony/ClassLoader) is the place to start.

Contributing
------------

[](#contributing)

Please feel free to post issues, or even better pull requests right here on github.

It would be great to flesh out the functionality to cover the other parts of paypal api.

Note that recently paypal have started providing much more themselves - [PayPal on GitHub](https://github.com/paypal). Although a good IPN lib is still missing.

License
-------

[](#license)

The library is covered by the MIT license. There is a copy in the repo.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

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

Recently: every ~133 days

Total

11

Last Release

4102d ago

Major Versions

2.1.2 → 3.0.02014-02-11

3.0.0 → 4.0.02015-02-19

4.0.0 → 5.0.02015-02-19

PHP version history (2 changes)3.0.0PHP &gt;=5.3.0

4.0.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7039999f29a83140d61116032ec1684c752412e458ad1999e15eea2f8808498c?d=identicon)[mcfedr](/maintainers/mcfedr)

---

Top Contributors

[![mcfedr](https://avatars.githubusercontent.com/u/704356?v=4)](https://github.com/mcfedr "mcfedr (43 commits)")

---

Tags

paypal

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[mike182uk/paypal-ipn-listener

A PayPal IPN (Instant Payment Notification) listener for PHP

90555.4k6](/packages/mike182uk-paypal-ipn-listener)[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4845.9k](/packages/amsgames-laravel-shop)

PHPackages © 2026

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