vimando/api-merchant-php

0.1 2017-09-12 13:49 UTC

This package is not auto-updated.

Last update: 2024-09-15 03:49:53 UTC


README

PHP Library for accessing the Vimando Merchant Rest API.

Requirements

PHP 5.4.0 and later

Installation & Usage

Composer

This repository is published on Packagist. Visit the package page here: api-merchant-php.

Install with composer cli

composer require vimando/api-merchant-php

Or add dependency to composer.json

{
  "require": {
          "vimando/api-merchant-php": "^0.1.0"
   }
}

Then run composer install

You vendor folder should now contain a folder called "vimando".

    require 'vendor/autoload.php';

    use Vimando\Api\Merchant\VimandoMerchantApi;

    $vimandoMerchantApi = new VimandoMerchantApi();

Manual Code Installation

Download the files and include autoload.php:

    require_once(__DIR__ . '/api-merchant-php/autoload.php');

    use Vimando\Api\Merchant\VimandoMerchantApi;

    $vimandoMerchantApi = new VimandoMerchantApi();

Sample

The folder sample contains a composer project with a sample client application.