PHPackages                             hypesystem/php-pay - 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. hypesystem/php-pay

ActiveLibrary[Payment Processing](/categories/payments)

hypesystem/php-pay
==================

Totally cool payments abstraction

v0.0.1(11y ago)018[7 issues](https://github.com/hypesystem/php-pay/issues)PHP

Since Jan 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hypesystem/php-pay)[ Packagist](https://packagist.org/packages/hypesystem/php-pay)[ RSS](/packages/hypesystem-php-pay/feed)WikiDiscussions master Synced 1mo ago

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

*Totally cool payments abstraction*

Every time you need to integrate a payments solution, you have to get used to a new library. That's super annoying. What if there was a single interface that could be configured to use any of the most popular payments solutions? This is an attempt at that. Cool.

To get to know the library, see the [examples](EXAMPLES.md).

There are basically two different ways of handling payments. This library will strive to eventually support both. We are starting out with the simplest and most-commonly used (per-project, not per-end-user) one: the Checkout model.

The Checkout Model
------------------

[](#the-checkout-model)

In the Checkout Model, the user is sent off the product website to complete their payment at a third party. The thirdt party is hard to get rid off, and using the checkout model saves development time: no longer is there a need to develop the actual checkout window itself.

[![The Checkout Model Illustrated](https://raw.githubusercontent.com/hypesystem/PhpPay/master/TheCheckoutModel.png)](https://raw.githubusercontent.com/hypesystem/PhpPay/master/TheCheckoutModel.png)

**Known Checkout-Model Payment Methods**

- PayPal Express Checkout
- ePay (Danish)
- NETS (Danish)
- Checkout by Amazon

There are some alternatives on this general model. These do not fit directly into the code written for this library:

**Stripe Checkout** overlays the checkout window on your current website, but still requires you to handle the data.

**Gumroad Overlay** is basically a bit of javascript which lets them handle all of the hard work.

The On-Site Model
-----------------

[](#the-on-site-model)

For big business, you will want complete control over the payment. This model leaves the product website to take care of getting user input. You should not use this model if you don't use encrypted connections, and your site has to be convincing, or customers won't trust you with their credit card information.

[![The On-Site Model Illustrated](https://raw.githubusercontent.com/hypesystem/PhpPay/master/TheOnSiteModel.png)](https://raw.githubusercontent.com/hypesystem/PhpPay/master/TheOnSiteModel.png)

**Known On-Site Model Payment Methods**

- Stripe
- PayPal

Disclaimer
==========

[](#disclaimer)

This library is not just pre-1.0. It is pre-0.1. Be very cautions (read the code) before using it in production.

License
=======

[](#license)

Copyright (c) 2015, Niels Roesen Abildgaard

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4128d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80011abd0f471afdbbe2f0d8837f2c6b5fd6dbe76d4a783cf16e0a2ef266ab9e?d=identicon)[hypesystem](/maintainers/hypesystem)

---

Top Contributors

[![hypesystem](https://avatars.githubusercontent.com/u/859106?v=4)](https://github.com/hypesystem "hypesystem (75 commits)")

---

Tags

paymentspaypalcheckout

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hypesystem-php-pay/health.svg)

```
[![Health](https://phpackages.com/badges/hypesystem-php-pay/health.svg)](https://phpackages.com/packages/hypesystem-php-pay)
```

###  Alternatives

[phpjuice/paypal-checkout-sdk

PayPal's PHP SDK for Checkout REST APIs

5858.1k](/packages/phpjuice-paypal-checkout-sdk)[enupal/stripe

Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS 3.x

3416.5k1](/packages/enupal-stripe)[tomatophp/filament-payments

Manage your payments inside FilamentPHP app with multi payment gateway integration

542.3k](/packages/tomatophp-filament-payments)

PHPackages © 2026

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