gratifypay/plugin-php-sdk

Gratify Pay PHP SDK

1.3.1 2023-11-18 00:36 UTC

README

  • 提交并推送到origin
  • 创建新的github发行版,给予它一个递增的版本号

用法

需要在composer.json中添加仓库

  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GratifyPay/plugin-php-sdk.git"
    }
  ]

之后执行以下命令

composer require gratifypay/gratify-php-sdk:^1.0

测试

  MERCHANT_ID="merchant_...." SECRET_KEY="gpKey_..." ./vendor/bin/phpunit tests