xyu/sand

简单的杉德sdk

v1.0 2022-03-28 07:54 UTC

This package is auto-updated.

Last update: 2022-04-29 05:54:02 UTC


README

杉德 sdk

  • 支持 composer 安装
  • 支持 hyperf、laravel/lumen、tp 等框架

安装 - install

$ composer require xyu/sand

发布配置 vendor:publish

Hyperf
php bin/hyperf.php vendor:publish xyu/sand
Laravel
php artisan vendor:publish
Hyperf  调用:
$app = sand_pay()->wechat_mini->orderCreate([]);
fpm框架 调用:
$app = sand($config)->wechat_mini->orderCreate([]);