PHPackages                             codenet/kk-client - 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. [API Development](/categories/api)
4. /
5. codenet/kk-client

AbandonedArchivedLibrary[API Development](/categories/api)

codenet/kk-client
=================

035PHP

Since Jan 31Pushed 9y agoCompare

[ Source](https://github.com/CodeNet-pl/kk-client)[ Packagist](https://packagist.org/packages/codenet/kk-client)[ RSS](/packages/codenet-kk-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Korporacja Kurierska API Client
===============================

[](#korporacja-kurierska-api-client)

Implemented methods
-------------------

[](#implemented-methods)

Below is the list of implemented API methods

- /api/login
- /api/checkPrices
- /api/checkData
- /api/makeOrder
- /api/orders
- /api/inpostMachines
- /api/label
- /api/labelZebra

Example usage
-------------

[](#example-usage)

```
use CodeNet\KKClient\KKClient;

$client = new KKClient($password, $password);
$client->setSessionId($sessionId); // optionally reuse previous session identifier if there is one
$order = $client->createOrder([
    'courierId' => '5'
    // ...
    // order data according to API docs
]);
// alternatively, a request could be CreateOrderRequest object
$request = new CreateOrderRequest();
$request->setCourier($courier); // where $courier could be Courier object or courier ID
// $request->set...

$order = $client->createOrder($request);

echo "Created order #" . $order->getOrderId() . EOL;
```

Testing
-------

[](#testing)

- copy tests/config.php.dist to tests/config.php
- fill test environment credentials
- run phpunit

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c080dfe28f4f62b3443e0a19c6a8e13c8c11d1615d6ef8e8fc758e8fcf99281e?d=identicon)[pasi](/maintainers/pasi)

---

Top Contributors

[![bpasinski](https://avatars.githubusercontent.com/u/921106?v=4)](https://github.com/bpasinski "bpasinski (19 commits)")

### Embed Badge

![Health badge](/badges/codenet-kk-client/health.svg)

```
[![Health](https://phpackages.com/badges/codenet-kk-client/health.svg)](https://phpackages.com/packages/codenet-kk-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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