PHPackages                             seymourlabs/omnipay-invoice - 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. seymourlabs/omnipay-invoice

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

seymourlabs/omnipay-invoice
===========================

Invoice driver for the Omnipay payment processing library

1.0(9y ago)19353MITPHP

Since Jun 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/seymourlabs/omnipay-invoice)[ Packagist](https://packagist.org/packages/seymourlabs/omnipay-invoice)[ Docs](https://github.com/seymourlabs/omnipay-invoice)[ RSS](/packages/seymourlabs-omnipay-invoice/feed)WikiDiscussions master Synced 4w ago

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

Omnipay: Invoice
================

[](#omnipay-invoice)

**Generate invoice numbers via the transaction call as a driver for the Omnipay PHP payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/cd122a6c861cce904b5d1f8648298a0e2cac1736975f986f83eb35933022d9b9/68747470733a2f2f706f7365722e707567782e6f72672f7365796d6f75726c6162732f6f6d6e697061792d696e766f6963652f76657273696f6e2e706e67)](https://packagist.org/packages/seymourlabs/omnipay-invoice)[![Total Downloads](https://camo.githubusercontent.com/fbca5d70811d70cf97384e713c253f8ca689e6eabd9c01fdbb8ade28ea5575e3/68747470733a2f2f706f7365722e707567782e6f72672f7365796d6f75726c6162732f6f6d6e697061792d696e766f6963652f642f746f74616c2e706e67)](https://packagist.org/packages/seymourlabs/omnipay-invoice)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Sage Pay support for Omnipay.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "seymourlabs/omnipay-invoice": "~1.0"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

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

[](#basic-usage)

```
// Create a gateway for the Invoice Gateway
// (routes to GatewayFactory::create)
$gateway = \Omnipay\Omnipay::create('Invoice');

// Initialise the gateway
$gateway->initialize([
    'testMode' => true, // Test mode prepends "TEST:" into the invoice number
]);

// Do an authorize transaction on the gateway
$transaction = $gateway->authorize([
    'amount'                   => '10.00',
    'currency'                 => 'GBP',
]);

// optional prefix assignment
$transaction->setPrefix('ABC');

$response = $transaction->send();
if ($response->isSuccessful()) {
    echo "Authorize transaction was successful!\n";
    $sale_id = $response->getTransactionReference();
    echo "Transaction reference = " . $sale_id . "\n";
}

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3288d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/479306?v=4)[Andrew Seymour](/maintainers/andrew-s)[@andrew-s](https://github.com/andrew-s)

---

Top Contributors

[![andrew-s](https://avatars.githubusercontent.com/u/479306?v=4)](https://github.com/andrew-s "andrew-s (6 commits)")

---

Tags

paymentgatewayinvoicepaymerchantomnipay

### Embed Badge

![Health badge](/badges/seymourlabs-omnipay-invoice/health.svg)

```
[![Health](https://phpackages.com/badges/seymourlabs-omnipay-invoice/health.svg)](https://phpackages.com/packages/seymourlabs-omnipay-invoice)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

557422.2k11](/packages/lokielse-omnipay-alipay)[omnipay/mollie

Mollie driver for the Omnipay payment processing library

631.8M10](/packages/omnipay-mollie)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1018.7k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

155.1k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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