定制 kepson/dexchange-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

kepson/dexchange-php

Composer 安装命令:

composer require kepson/dexchange-php

包简介

dexchange api sdk for php

README 文档

README

A PHP sdk to interact with Dexchange's API

Installation

With Composer

composer require kepson/dexchange-php

REQUIREMENTS

  • PHP 8.0+

Usage

Authentication

Generate an API KEY from the Dexchange Api

Setup

<?php
include "vendor/autoload.php";

use Dexchange\Client\Options;
use Dexchange\Client\DexchangeSdk;

$env = 'production';
$apikey = 'sk.8fcdc.a23474b7d2612534df';

$options = new Options($env);
$DexchangeSdk = new DexchangeSdk($apikey, $options);

Example

    $initTransaction = $DexchangeSdk->Transactions()->intiTransaction(123, 'callBackUrl', 'externalTransactionId', 'failureUrl', 'number', 'serviceCode', 'successUrl');

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Kepsondiaz/dexchange-php. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct. Simply create a new branch and raise a Pull Request, we would review and merge.

License

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-04