定制 yield-tech/sdk-php 二次开发

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

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

yield-tech/sdk-php

最新稳定版本:v0.7.1

Composer 安装命令:

composer require yield-tech/sdk-php

包简介

The official Yield SDK for PHP

README 文档

README

The official Yield SDK for PHP.

Documentation

Installation

composer require yield-tech/sdk-php

Usage

// For security, don't save the actual key in your code or repo
$client = new YieldTech\SdkPhp\Client(getenv('YIELD_API_KEY'));

// Fetch an existing order
$order = $client->order->fetch('ord_...');
print_r($order->customer->registeredName);

// Or create a new one
$newOrder = $client->order->create([
    'customer_id' => 'org_...',
    'total_amount' => 'PHP 1234.50',
    'note' => 'Test order from the PHP SDK!',
]);

For more details, check out our API reference.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2025-03-04