PHPackages                             skytech/payment-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. skytech/payment-php-sdk

ActiveLibrary[Payment Processing](/categories/payments)

skytech/payment-php-sdk
=======================

Skytech's Payment SDK for PHP

1.0.2(8y ago)017MITPHPPHP &gt;=5.6|&gt;=7.0

Since Oct 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/skytechrus/payment-php-sdk)[ Packagist](https://packagist.org/packages/skytech/payment-php-sdk)[ Docs](https://github.com/skytechrus/payment-php-sdk)[ RSS](/packages/skytech-payment-php-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (15)Versions (5)Used By (0)

[![codecov](https://camo.githubusercontent.com/d1a38ddb2cce1c136a9604ef766d25d3e7d75462f5b469af4699d63c455f49c8/68747470733a2f2f636f6465636f762e696f2f62622f736b79746563687275732f7061796d656e742d7068702d73646b2f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d64435a353536664e7267)](https://codecov.io/bb/skytechrus/payment-php-sdk)

PHP Payment SDK
===============

[](#php-payment-sdk)

Install
-------

[](#install)

Via Composer

```
composer require skytech/payment-php-sdk
```

Usage
-----

[](#usage)

Purchase

```
$order = new \Skytech\Sdk\Order();
$order->setAmount(100);
$order->setCurrency(643); //Russian rubles. ISO 4217 numeric-3
$order->setDescription("Test description");

$merchant = new \Skytech\Sdk\Merchant();
$merchant->setLanguage('RU'); // ISO 639-1
$merchant->setMerchantId("ES000000");
$merchant->setApproveUrl($approveUrl);
$merchant->setCancelUrl($cancelUrl);
$merchant->setDeclineUrl($declineUrl);

$address = new \Skytech\Sdk\Customer\Address();
$address->setCountry(643); // ISO 3166-1 numeric
$address->setRegion("Moscow");
$address->setCity("Moscow");
$address->setAddressline("evergreen street");
$address->setZip("123123");

$customer = new \Skytech\Sdk\Customer($address);
$customer->setEmail($email);
$customer->setPhone($phone);
$customer->setIp($clientIp);

$connector = new \Skytech\Sdk\Connector();
$connector->setCert('C:\Payment_php_sdk\test.pem', ''); // Path to the client certificate
$payment = new \Skytech\Sdk\Payment($order, $merchant, $customer, $connector);
try {
    $response = $payment->purchase();
} catch (Exception $e) {
    echo $e->getMessage();
}

$url = $response->getPaymentUrl(); // Redirect client to payment page by this url
header('Location: ' . $url);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Total

4

Last Release

3044d ago

Major Versions

v0.2 → 1.0.02017-12-25

PHP version history (3 changes)1.0.0PHP ^5.6

1.0.1PHP &gt;=5.6

1.0.2PHP &gt;=5.6|&gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10868537?v=4)[Skytech](/maintainers/Skytech)[@SKYTECH](https://github.com/SKYTECH)

---

Top Contributors

[![msvbell](https://avatars.githubusercontent.com/u/1275195?v=4)](https://github.com/msvbell "msvbell (123 commits)")[![force323](https://avatars.githubusercontent.com/u/709152?v=4)](https://github.com/force323 "force323 (4 commits)")

---

Tags

sdkpaymentskytech

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/skytech-payment-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/skytech-payment-php-sdk/health.svg)](https://phpackages.com/packages/skytech-payment-php-sdk)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.5k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M12](/packages/checkout-checkout-sdk-php)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M17](/packages/pantheon-systems-terminus)[buckaroo/sdk

Buckaroo payment SDK

12233.3k14](/packages/buckaroo-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
