PHPackages                             imusicjj/quickpay-php-client - 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. imusicjj/quickpay-php-client

ActiveLibrary[Payment Processing](/categories/payments)

imusicjj/quickpay-php-client
============================

PHP-SDK to communicate with the payment provider QuickPay

2.0.2(4y ago)020.0k[1 PRs](https://github.com/iMusicJJ/quickpay-php-client/pulls)MITPHPPHP &gt;=8.0

Since Apr 15Pushed 3y agoCompare

[ Source](https://github.com/iMusicJJ/quickpay-php-client)[ Packagist](https://packagist.org/packages/imusicjj/quickpay-php-client)[ Docs](https://github.com/QuickPay/quickpay-php-client)[ RSS](/packages/imusicjj-quickpay-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (11)Used By (0)

quickpay-php-client
===================

[](#quickpay-php-client)

`quickpay-php-client` is a official client for [QuickPay API](http://tech.quickpay.net/api). The QuickPay API enables you to accept payments in a secure and reliable manner. This package currently support QuickPay `v10` api.

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

[](#installation)

### Composer

[](#composer)

Simply add a dependency on quickpay/quickpay-php-client to your project's composer.json file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json file that just defines a dependency on newest stable version of QuickPay:

```
{
    "require": {
        "quickpay/quickpay-php-client": "1.0.*"
    }
}

```

### Manually upload

[](#manually-upload)

If you cannot use composer and all the goodness the autoloader in composer gives you, you can upload `/QuickPay/` to your web space. However, then you need to manage the autoloading of the classes yourself.

Usage
-----

[](#usage)

Before doing anything you should register yourself with QuickPay and get access credentials. If you haven't please [click](https://quickpay.net/) here to apply.

### Create a new client

[](#create-a-new-client)

First you should create a client instance that is anonymous or authorized with `api_key` or login credentials provided by QuickPay.

To initialise an anonymous client:

```

```

To initialise a client with QuickPay Api Key:

```

```

Or you can provide login credentials like:

```

```

### API Calls

[](#api-calls)

You can afterwards call any method described in QuickPay api with corresponding http method and endpoint. These methods are supported currently: `get`, `post`, `put`, `patch` and `delete`.

```
// Get all payments
$payments = $client->request->get('/payments');

// Get specific payment
$payments = $client->request->get('/payments/{id}');

// Create payment
$form = array(
    'order_id' => $order_id,
    'currency' => $currency,
    ...
);
$payments = $client->request->post('/payments', $form);
$status = $payments->httpStatus();
if ($status == 201) {
    // Successful created
}
```

### Handling the response

[](#handling-the-response)

Getting the `HTTP status code`:

```
$response = $client->request->get('/payments');
$status = $response->httpStatus();

if ($status == 200) {
    // Successful request
}
```

The returned response object supports 3 different ways of returning the response body, `asRaw()`, `asObject`, `asArray()`.

```
// Get the HTTP status code, headers and raw response body.
list($status_code, $headers, $response_body) = $client->request->get('/payments')->asRaw();

// Get the response body as an object
$response_body = $client->request->get('/payments')->asObject();

// Get the response body as an array
$response_body = $client->request->get('/payments')->asArray();

// Example usage
$payments = $client->request->get('/payments')->asArray();

foreach($payments as $payment) {
    //...
}
```

You can read more about api responses at [http://tech.quickpay.net/api/](http://tech.quickpay.net/api).

Tests
-----

[](#tests)

Use composer to create an autoloader:

```
$ composer install
$ phpunit
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~384 days

Total

7

Last Release

1621d ago

Major Versions

0.1.0 → 1.0.02016-04-19

1.1.0 → 2.0.02021-11-30

PHP version history (2 changes)0.1.0PHP &gt;=5.3.3

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3977335c272accd5900fc412490a8f1bc3d7d61f5f169504cfee7d02dbd54480?d=identicon)[iMusicJJ](/maintainers/iMusicJJ)

---

Top Contributors

[![lsolesen](https://avatars.githubusercontent.com/u/148026?v=4)](https://github.com/lsolesen "lsolesen (33 commits)")[![ta](https://avatars.githubusercontent.com/u/191474?v=4)](https://github.com/ta "ta (18 commits)")[![iMusicJJ](https://avatars.githubusercontent.com/u/57725397?v=4)](https://github.com/iMusicJJ "iMusicJJ (15 commits)")[![Sthing](https://avatars.githubusercontent.com/u/2682309?v=4)](https://github.com/Sthing "Sthing (13 commits)")[![tolvstein](https://avatars.githubusercontent.com/u/8200089?v=4)](https://github.com/tolvstein "tolvstein (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![Vonsild](https://avatars.githubusercontent.com/u/1231930?v=4)](https://github.com/Vonsild "Vonsild (2 commits)")[![FrittenKeeZ](https://avatars.githubusercontent.com/u/1186125?v=4)](https://github.com/FrittenKeeZ "FrittenKeeZ (2 commits)")[![cjonstrup](https://avatars.githubusercontent.com/u/576584?v=4)](https://github.com/cjonstrup "cjonstrup (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/imusicjj-quickpay-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/imusicjj-quickpay-php-client/health.svg)](https://phpackages.com/packages/imusicjj-quickpay-php-client)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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