Sellix / php-sdk

PHP SDK for the Sellix Developers API (developers.sellix.io). Quickly get started and create products, payments and more using PHP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sellix PHP SDK

tag version downloads

Introduction

Sellix public API for developers to access merchant resources

Requirements

  • php ^5.3
  • php-curl

Installation

Install the package through composer.

composer require sellix/php-sdk

Usage

<?php

require_once 'vendor/autoload.php';

use \Sellix\PhpSdk\Sellix;
use \Sellix\PhpSdk\SellixException;

// pass <MERCHANT_NAME> only if you need to be authenticated as an additional store

$client = new Sellix("<YOUR_API_KEY>", "<MERCHANT_NAME>");

try {
    $products = $client->get_products();
} catch (SellixException $e) {
    echo $e->__toString();
}

?>

Documentation

Sellix Developers API

About

PHP SDK for the Sellix Developers API (developers.sellix.io). Quickly get started and create products, payments and more using PHP.

License:MIT License


Languages

Language:PHP 100.0%