PHPackages                             dmarket/connectum-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dmarket/connectum-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dmarket/connectum-sdk
=====================

Connectum SDK

v2.1.4(2y ago)02321PHPPHP &gt;=5.5

Since Nov 8Pushed 2y agoCompare

[ Source](https://github.com/dmarket/connectum)[ Packagist](https://packagist.org/packages/dmarket/connectum-sdk)[ RSS](/packages/dmarket-connectum-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (1)Versions (56)Used By (0)

Platron Connectum SDK
=====================

[](#platron-connectum-sdk)

Install
-------

[](#install)

```
composer require dmarket/connectum-sdk
```

To use SDK you need to generate pem certificate and private key. You could use this command

```
openssl pkcs12 -in login.p12 -out private.key -nocerts -nodes
openssl pkcs12 -in login.p12 -out certificate.cer -nokeys

```

Start tests
-----------

[](#start-tests)

```
composer install

```

To use tests copy tests/integration/MerchantSettingsSample.php and delete Sample substring. Than use

```
vendor/bin/phpunit tests/integration

```

Samples
-------

[](#samples)

1. Set connection settings in object

```
$connectionSettings = new Platron\Connectum\data_objects\ConnectionSettingsData();
$connectionSettings->login = 'login';
$connectionSettings->password = 'password';
$connectionSettings->certificatePath = 'path_to_cert.pem';
$connectionSettings->certificatePassword = 'certificate_password;
```

1. Auth

```
$client = new Platron\Connectum\clients\PostClient($connectionSettings);

$card = new Platron\Connectum\data_objects\CardData();
$card->holder = 'test test';
$card->cvv = '123';
$card->expiration_month = '06';
$card->expiration_year = '2022';

$location = new Platron\Connectum\data_objects\LocationData();
$location->ip = '8.8.8.8';

$request = new Platron\Connectum\services\order_authorize\OrderAuthorizeRequest(10, 'RUB', '4111111111111111', $card, $location);
$response = new Platron\Connectum\services\order_authorize\OrderAuthorizeResponse($client->sendRequest($request));
```

2. Capture

```
$client = new Platron\Connectum\clients\PutClient($connectionSettings);
$request = new Platron\Connectum\services\order_charge\OrderChargeRequest(111, 10.00);
$response = new Platron\Connectum\services\order_charge\OrderChargeResponse($client->sendRequest($request));
```

3. Order list

```
$client = new Platron\Connectum\clients\GetClient($this->connectionSettings);
$request = new Platron\Connectum\services\order_list\OrderListRequest();

$card = new Platron\Connectum\data_objects\CardData();
$card->type = Platron\Connectum\handbooks\OrderStatus::PREPARED;
$request->setCard($card);

$response = new Platron\Connectum\services\order_list\OrderListResponse($client->sendRequest($request));
```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~38 days

Recently: every ~230 days

Total

54

Last Release

1062d ago

Major Versions

v1.4.0 → 2.0.02019-05-23

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v1.3.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/d29d88f5198060da5622e229808a6530b1686e8809275cea41812934e802d4c0?d=identicon)[v.boiko-dm](/maintainers/v.boiko-dm)

---

Top Contributors

[![lashnag](https://avatars.githubusercontent.com/u/5690099?v=4)](https://github.com/lashnag "lashnag (16 commits)")[![schursin](https://avatars.githubusercontent.com/u/980845?v=4)](https://github.com/schursin "schursin (3 commits)")[![VitaliiBoikoSun](https://avatars.githubusercontent.com/u/26481151?v=4)](https://github.com/VitaliiBoikoSun "VitaliiBoikoSun (1 commits)")

### Embed Badge

![Health badge](/badges/dmarket-connectum-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/dmarket-connectum-sdk/health.svg)](https://phpackages.com/packages/dmarket-connectum-sdk)
```

###  Alternatives

[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[j0k3r/php-readability

Automatic article extraction from HTML

186808.8k6](/packages/j0k3r-php-readability)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k134](/packages/symfony-ai-platform)[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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