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

ActiveLibrary[Payment Processing](/categories/payments)

chemlabs/omnipay-invoice
========================

Invoice driver for the Omnipay payment processing library

1.1(6y ago)0125MITPHP

Since Jun 29Pushed 6y agoCompare

[ Source](https://github.com/AaronKaa/omnipay-invoice)[ Packagist](https://packagist.org/packages/chemlabs/omnipay-invoice)[ Docs](https://github.com/AaronKaa/omnipay-invoice)[ RSS](/packages/chemlabs-omnipay-invoice/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (3)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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~811 days

Total

2

Last Release

2477d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42174076?v=4)[aarcarr](/maintainers/aarcarr)[@aarcarr](https://github.com/aarcarr)

---

Top Contributors

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

---

Tags

paymentgatewayinvoicepaymerchantomnipay

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/chemlabs-omnipay-invoice/health.svg)](https://phpackages.com/packages/chemlabs-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)
