orchardcity/laravel-samcart
最新稳定版本:1.2.6
Composer 安装命令:
composer require orchardcity/laravel-samcart
包简介
Samcart API library for use with php Laravel
README 文档
README
This is a php library for interacting with the Samcart API (Specifically written for Laravel)
Get your key and read the docs here: https://developer.samcart.com/#section/Introduction
Use the postman collection I've created here: https://www.postman.com/helloenthusiast/workspace/orchardcity/collection/17590512-f73e7c43-5f87-4aea-a58f-26845d4ddfdf for development.
For updates, improvements, or fixes, please feel free to open a PR!
To install:
composer require orchardcity/laravel-samcart
To use:
$samcart = new Samcart($api_key);
$samcart->testConnection();
$samcart->getCustomers(50);
$samcart->getOrders();
$samcart->getProucts();
$samcart->getProductById('343357');
$samcart->getCustomerById('343357');
$samcart->getOrderById('343357');
$samcart->issueChargeRefund(134443)
统计信息
- 总下载量: 417
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-20