定制 hutko-service/php-sdk 二次开发

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

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

hutko-service/php-sdk

Composer 安装命令:

composer require hutko-service/php-sdk

包简介

Hutko php sdk v2

README 文档

README

Hutko payment service provider

Hutko - Ukrainian payment service that is destroying business forward Start working with payment more efficiently - it is necessary and you can find more in one event. This is the very best assistant who already knows what you need.

Installation

This SDK uses composer.

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

For more information on how to use/install composer, please visit https://github.com/composer/composer

Composer installation

composer require hutko-service/php-sdk

Manual installation

git clone -b master https://github.com/hutko-service/php-sdk.git
<?php
require '/path-to-sdk/autoload.php';

Simple Start

require 'vendor/autoload.php';
\Hutko\Configuration::setMerchantId(1700002);
\Hutko\Configuration::setSecretKey('test');

$checkoutData = [
    'currency' => 'UAH',
    'amount' => 1000
];
$data = \Hutko\Checkout::url($data);
$url = $data->getUrl();
//$data->toCheckout() - redirect to checkout

Api

See docs

Examples

To check it you can use build-in php server

cd ~/php-sdk
php -S localhost:8000

Checkout examples

Author

D.M.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-03