Skip to content

cardgate/cardgate-clientlib-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardGate

CardGate API client library for PHP

Total Downloads Latest Version Build Status

Installation

CardGate API

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.