orchardcity/laravel-samcart 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-20