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
Requires
- php: >=7.4.0
- ext-curl: *
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()); }