janmuran/arukereso-trusted-shop

There is no license information available for the latest version (1.0.1) of this package.

Client for arukereso trusted shop

1.0.1 2023-09-07 22:20 UTC

This package is auto-updated.

Last update: 2024-05-08 00:04:50 UTC


README

$ composer require janmuran/arukereso-trusted-shop

Usage

The simplest usage :

<?php

require_once __DIR__ . '/vendor/autoload.php';


try {
    $client = new \Janmuran\TrustedShop('api - key');
    $client->setEmail('somebody@example.com');
    $client->addProduct('Product name 1', 'P123456');

    echo $client->createTrustedCode();
} catch (Exception $exception) {
  die($exception->getMessage());
}