cardgate / cardgate-clientlib-php
CardGate API client library for PHP
Package info
github.com/cardgate/cardgate-clientlib-php
pkg:composer/cardgate/cardgate-clientlib-php
2.1.0
2026-02-27 11:38 UTC
Requires
- php: ~8.4.0|~8.5.0
- ext-curl: *
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^13.0
- squizlabs/php_codesniffer: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
CardGate API client library for PHP
Installation
The CardGate API client library is installed via Composer. 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, and include the client library in your project.
Basic Usage
cardgate\api\Autoloader::register(); $oCardGate = new cardgate\api\Client( <merchant id>, '<merchant key>', TRUE );
Support
If you believe you have found a bug, please report it using the GitHub issue tracker or contact us at tech@cardgate.com.