2017 © Pedro Peláez
 

library cart-recover-phpapi

Cart Recover - PHP API.

image

digital-canvas/cart-recover-phpapi

Cart Recover - PHP API.

  • Monday, August 5, 2013
  • by spekkionu
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Cart Recover - PHP API

Latest Stable Version Total Downloads, (*1)

PHP API implementation of the Cart Recover order API., (*2)

http://www.cart-recover.com
Developed by Digital Canvas, (*3)

Installation

Requirements

  • PHP 5.2.4+ (external libraries used by adapters may have their own requirements)

At least one of the following adapters: - PHP cURL extension to use cURL adapter - Zend Framework 1.x to use Zend_Http_Client adapter - Zend Framework 2.2.x to use Zend Zend\Http\Client adapter - Guzzle library to use Guzzle adapter - PEAR HTTP_Request2 library to use PEAR adapter, (*4)

Install with composer

The easiest way to install the Cart Recover PHP API library is via composer. Create the following composer.json file and run the php composer.phar install command to install it., (*5)

Note composer requires PHP 5.3+, (*6)

{
    "require": {
        "digital-canvas/cart-recover-phpapi": "*"
    }
}
<?php
require 'vendor/autoload.php';

$account_key = 'my-unique-account-key';

$cart_recover = new CartRecover_API($account_key);
$adapter = new CartRecover_Adapter_Curl();
$cart_recover->setHTTPClientAdapter($adapter);

Install without composer

Download the libraries from https://github.com/digital-canvas/cart-recover-phpapi/archive/master.zip and extract to a folder accessible from your app., (*7)

<?php
require 'path/to/src/CartRecover/Autoloader.php';

CartRecover_Autoloader::registerAutoloader();

$account_key = 'my-unique-account-key';

$cart_recover = new CartRecover_API($account_key);
$adapter = new CartRecover_Adapter_Curl();
$cart_recover->setHTTPClientAdapter($adapter);

The Versions

05/08 2013

dev-master

9999999-dev http://www.cart-recover.com

Cart Recover - PHP API.

  Sources   Download

MIT

by Jeff Shaikh

api cart-recover