hutko-service / php-sdk
Hutko php sdk v2
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/hutko-service/php-sdk
Requires
- php: ^5.4|^7.0|^8.0
- ext-curl: *
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ~5|~8|~9
This package is not auto-updated.
Last update: 2026-01-01 12:53:54 UTC
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
Author
D.M.