ssanko/compari-trusted-shop
最新稳定版本:1.0.2
Composer 安装命令:
composer require ssanko/compari-trusted-shop
包简介
Client for compari trusted shop
README 文档
README
This package provides basic support for Compari or Arukereso trusted shop.
Installation
$ composer require ssanko/compari-trusted-shop
Usage
Usage for Compari trusted shop:
try { $client = (new \Ssanko\Compari\TrustedShop('<apiKey>', new \Ssanko\Compari\Config\CompariConfig)) ->setEmail('somebody@example.com') ->addProduct('Product name 1', 'P123456'); echo $client->createTrustedCode(); } catch (Exception $exception) { die($exception->getMessage()); }
Usage for Arukereso trusted shop:
try { $client = (new \Ssanko\Compari\TrustedShop('<apiKey>', new \Ssanko\Compari\Config\ArukeresoConfig)) ->setEmail('somebody@example.com') ->addProduct('Product name 1', 'P123456'); echo $client->createTrustedCode(); } catch (Exception $exception) { die($exception->getMessage()); }
统计信息
- 总下载量: 1.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-10-01