PHPackages                             cardgate/cardgate-clientlib-php - 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. cardgate/cardgate-clientlib-php

ActiveLibrary[Payment Processing](/categories/payments)

cardgate/cardgate-clientlib-php
===============================

CardGate API client library for PHP

2.1.0(2mo ago)418.9k↑132.6%7MITPHPPHP ~8.4.0|~8.5.0

Since Oct 19Pushed 2mo ago3 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (28)Used By (0)

[![CardGate](https://camo.githubusercontent.com/3b287f1d711d5a554998611df7d04b1617a981becee9147d6698c5cae6c2d183/68747470733a2f2f63646e2e6375726f7061796d656e74732e6e65742f7468756d622f3230302f6c6f676f732f63617264676174652e706e67)](https://camo.githubusercontent.com/3b287f1d711d5a554998611df7d04b1617a981becee9147d6698c5cae6c2d183/68747470733a2f2f63646e2e6375726f7061796d656e74732e6e65742f7468756d622f3230302f6c6f676f732f63617264676174652e706e67)

CardGate API client library for PHP
===================================

[](#cardgate-api-client-library-for-php)

[![Total Downloads](https://camo.githubusercontent.com/be37f70a0868f37b2df38122f32397ab5df1cb74d78c59df0c9d8f5ddcc44b5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63617264676174652f63617264676174652d636c69656e746c69622d7068702e737667)](https://packagist.org/packages/cardgate/cardgate-clientlib-php)[![Latest Version](https://camo.githubusercontent.com/baf20bbc61dc36c7fe7026c540448e90eb9adfb722409efa42991449758fab68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63617264676174652f63617264676174652d636c69656e746c69622d7068702e737667)](https://github.com/cardgate/cardgate-clientlib-php/releases)[![Build Status](https://camo.githubusercontent.com/149d9a710f0f59e8a55559741943742cb856b1471e68edb37510fd8cbb1cb1e8/68747470733a2f2f7472617669732d63692e6f72672f63617264676174652f63617264676174652d636c69656e746c69622d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cardgate/cardgate-clientlib-php)

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

[](#installation)

[![CardGate API](https://camo.githubusercontent.com/4052b8b5bf88c2771f4cf7ce3d754f6bb2b7af260f16f381dcaf592d5f513994/68747470733a2f2f63646e2e6375726f7061796d656e74732e6e65742f7468756d622f35302f6c6f676f732f63617264676174652e6170692e706e67)](https://camo.githubusercontent.com/4052b8b5bf88c2771f4cf7ce3d754f6bb2b7af260f16f381dcaf592d5f513994/68747470733a2f2f63646e2e6375726f7061796d656e74732e6e65742f7468756d622f35302f6c6f676f732f63617264676174652e6170692e706e67)

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

```
{
    "require": {
        "cardgate/cardgate-clientlib-php": "~1.1.4"
    }
}
```

And run composer to update your dependencies:

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

```

You may also git clone or [download the files manually](https://github.com/cardgate/cardgate-clientlib-php/releases), and include the client library in your project.

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

[](#basic-usage)

```
	cardgate\api\Autoloader::register();
	$oCardGate = new cardgate\api\Client( , '', TRUE );
```

Support
-------

[](#support)

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/cardgate/cardgate-clientlib-php/issues) or contact us at [tech@cardgate.com](mailto:tech@cardgate.com?subject=CardGate%20API%20client%20library%20for%20PHP%20Support).

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance92

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.9% 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 ~117 days

Recently: every ~35 days

Total

27

Last Release

70d ago

Major Versions

1.1.24 → 2.0.02026-02-25

PHP version history (12 changes)1.1.0PHP ~5.6.0|~7.0.0|~7.1.0

1.1.8PHP ^5.6 | ^7.0

1.1.9PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0

1.1.12PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0

1.1.13PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0

1.1.16PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0

1.1.17PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0

1.1.18PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0

1.1.19PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0

1.1.20PHP ~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0

2.0.0PHP ~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.0.0|~8.1.0|~8.2.0|~8.3.0|~8.4.0

2.1.0PHP ~8.4.0|~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/54ea1ff3141c9692381b420394b32bbbc2112bec61981d65f7e2a088a0cbfd9f?d=identicon)[cardgate](/maintainers/cardgate)

---

Top Contributors

[![RichardCardGate](https://avatars.githubusercontent.com/u/6303207?v=4)](https://github.com/RichardCardGate "RichardCardGate (57 commits)")[![cardgate](https://avatars.githubusercontent.com/u/11666729?v=4)](https://github.com/cardgate "cardgate (44 commits)")[![martijnpr](https://avatars.githubusercontent.com/u/389322?v=4)](https://github.com/martijnpr "martijnpr (5 commits)")[![olia-bn](https://avatars.githubusercontent.com/u/19972277?v=4)](https://github.com/olia-bn "olia-bn (3 commits)")[![NMe84](https://avatars.githubusercontent.com/u/4869296?v=4)](https://github.com/NMe84 "NMe84 (2 commits)")[![apeschar](https://avatars.githubusercontent.com/u/122977?v=4)](https://github.com/apeschar "apeschar (1 commits)")

---

Tags

securepaymentpaypalidealsofortbancontactsofortbankingbanktransferbitcoincardgateafterpaydirectdebit

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cardgate-cardgate-clientlib-php/health.svg)

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

###  Alternatives

[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

59914.4M61](/packages/mollie-mollie-api-php)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

251.7M1](/packages/mollie-oauth2-mollie-php)[mollie/magento

iDEAL, Creditcard, Bancontact/Mister Cash, SOFORT, Bank transfer, Bitcoin, PayPal &amp; paysafecard for Magento https://www.mollie.com/

397.9k](/packages/mollie-magento)[mage2pro/stripe

Stripe integration with Magento 2

605.3k](/packages/mage2pro-stripe)

PHPackages © 2026

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