PHPackages                             bozboz/payment - 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. bozboz/payment

AbandonedLibrary

bozboz/payment
==============

v1.0.0(8y ago)02361PHP

Since Feb 1Pushed 4y ago3 watchersCompare

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

READMEChangelogDependencies (4)Versions (3)Used By (1)

Payment package
===============

[](#payment-package)

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

[](#installation)

1. See
2. Run `php artisan vendor:publish && php artisan migrate`
3. Edit `config/payment.php`

Usage
-----

[](#usage)

The payment package contains implementations for SagePay and PayPal. It should be pretty easy to add Stripe, it's been done on TicketRunway which is an older version ofthe Laravel CMS but it should be fairly easy to adapt.

All the different payment gateways are registered in `PaymentServiceProvider::registerPaymentGateways`. This sets up the gateway with the relevant config ready for use. At the bottom of the method there are abstract gateways that are bound to implementations of actual gateways depending on whether `test_payments` is set in the config or not.

The payment gateways use a package called Omnipay to do all the actual communication with the payment provider ().

If using a gateway that requires making a callback from the payment provider to our server, e.g. ExternalGateway (i.e. TestIFrameGateway or IFrameSagePayGateway), the URLs 'checkout/callback' and 'checkout/billing' must be added to `$except` in `App\Http\Middleware\VerifyCsrfToken` and `$whitelist` in `App\Http\Middleware\FrontHoldingPage`.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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

3021d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c709396f3a6a7048c1c89615c6fce3f8301bd5715c641bf07b48268187727a3?d=identicon)[bozboz](/maintainers/bozboz)

---

Top Contributors

[![samdking](https://avatars.githubusercontent.com/u/1331514?v=4)](https://github.com/samdking "samdking (7 commits)")[![oddvalue](https://avatars.githubusercontent.com/u/10127404?v=4)](https://github.com/oddvalue "oddvalue (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bozboz-payment/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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