PHPackages                             sch-group/pickpoint - 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. sch-group/pickpoint

ActiveLibrary[API Development](/categories/api)

sch-group/pickpoint
===================

Russian PickPoint delivery service api connector

v4.2(4y ago)79.2k↓50%5MITPHPPHP &gt;=7.0CI failing

Since Jul 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sch-group/pickpoint-sdk)[ Packagist](https://packagist.org/packages/sch-group/pickpoint)[ RSS](/packages/sch-group-pickpoint/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (53)Used By (0)

API PICKPOINT PHP SDK

@ainurecm telegram

```
composer require sch-group/pickpoint
```

Примеры:

Инициализация

```
$config = [
 'host' => '',
 'login' => '',
 'password' => '',
 'ikn' => '',
];

$pickPointConf = new PickPointConf($config['host'], $config['login'], $config['password'], $config['ikn']);

$defaultPackageSize = new PackageSize(20, 20,20); // может быть null

$senderDestination = new SenderDestination('Москва', 'Московская обл.'); // Адрес отправителя

$client = new PickPointConnector($pickPointConf, $senderDestination, $defaultPackageSize);

Так же можно добавить кэширование, для ускорения запроса на авторизацию
$redisCacheConf = [
 'host' => '127.0.0.1',
 'port' => 6379
];

$client = new PickPointConnector($pickPointConf, $senderDestination, $defaultPackageSize, $redisCacheConf);

```

Получение массива постаматов

```
$points = $client->getPoints(); // get postamats list

```

Цены за доставку

```
$receiverDestination = new ReceiverDestination('Санкт-Петербург', 'Ленинградская обл.');

$prices = $client->calculatePrices($receiverDestination); // вернет массив с ценами и тарифами

$tariffPrice = $client->calculateObjectedPrices($receiverDestination); // Вернет объект с ценами

$commonStandardPrice = $tariffPrice->getStandardCommonPrice(); // получить общую цену с тарифом стандарт

```

Создание отправления

```
$invoice = new Invoice();
$invoice->setSenderCode('order: 123456');
$invoice->setPostamatNumber('5602-009');
$invoice->setDescription('Custom zakaz');
$invoice->setRecipientName('Саша');
$invoice->setMobilePhone('+79274269590');
$invoice->setEmail('kek@mail.ru');
$invoice->setGettingType('sc'); // courier or sc
$invoice->setSum(500.00);
$invoice->setDeliveryMode('standard'); // stanadard or priority
$packageSize = new PackageSize(20, 20, 20);
$invoice->setPackageSize($packageSize);

$product = new Product('number 234', 'Test', 2, 100);

$address = new Address();
$address->setCityName('Казань');
$address->setPhoneNumber('+79274269590');
$invoice->setClientReturnAddress($address);
$response = $client->createShipment($invoice);

```

Печать наклейки

```
$invoice = $client->createShipmentWithInvoice($invoice);
$invoiceNumber = $invoice->getInvoiceNumber();
$pdfByteCode = $client->printLabel(array($invoiceNumber));

```

Создание реестра и печать

```
$invoice = $client->createShipmentWithInvoice($invoice);
$invoiceNumber = $invoice->getInvoiceNumber();

$reestr = $client->makeReceipt(array($invoiceNumber));
$pdfByteCode = $client->rintReceipt($reestr[0]);

```

Одновременное создание реестра и печать

```
$invoice = $client->createShipmentWithInvoice($invoice);
$invoiceNumber = $invoice->getInvoiceNumber();
$pdfByteCode = $client->makeReceiptAndPrint(array($invoiceNumber));

```

Удалить инвойс из реестра

```
 $remove = $client->removeInvoiceFromReceipt($invoiceNumber);

```

Проверка статуса отправлений

```
$invoiceNumber = $invoice->getInvoiceNumber();
$status = $client->getStatus($invoiceNumber);
$status->getState();
$status->getStateText();

```

Получить все статусы

```
$states = $client->getStates();

```

Отмена отправления

```
$senderCode = $invoice->getSenderCode(); // order id
$cancelResponse = $client->cancelInvoice($invoiceNumber);
или
$cancelResponse = $client->cancelInvoice('', $senderCode); // отмена с собственным id заказа

```

Информация об отправлении

```
$response = $client->shipmentInfo($invoiceNumber);
$response = $client->shipmentInfo('', $senderCode);

```

Вызов курьера

```
$senderDestination = new SenderDestination('Москва', 'Московская обл.', '', 992);

$courierCall = new CourierCall(
    $senderDestination->getCity(),
    $senderDestination->getCityId(),
    $senderDestination->getAddress(),
   'Тестов Тест',
    '+79274269594',
    new \DateTime('tomorrow + 1 day'),
    12 * 60, // from 12:00,
    17 * 60, // to 17:00
    1, // 1 заказ,
    1, // 10 кг
    'Это тестовый вызов, пожалуйста не приезжайте'
 );

$callCourier = $client->callCourier($courierCall);
$courierOrderNumber = $callCourier->getCallOrderNumber();

```

Отмена вызова курьера

```

$cancelResponse = $client->cancelCourierCall($courierOrderNumber);

```

История изменения отправления

```
$response = $client->getInvoicesTrackHistory([$invoiceNumber]);

$states = $client->getInvoiceStatesTrackHistory($invoiceNumber);

$lastSates = $client->getInvoicesLastStates([$invoiceNumber]);

```

Обновление полей отправления

```
$updateInvoice->setInvoiceNumber($invoice->getInvoiceNumber());
$updateInvoice->setRecipientName("Кек чебурек");
$updateInvoice->setSum(20.32);
$updateInvoice->setMobilePhone('+745642411');
$response = $client->updateShipment($updateInvoice);

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~17 days

Recently: every ~112 days

Total

52

Last Release

1627d ago

Major Versions

v1.9 → v2.02019-08-10

v2.9 → v3.02019-11-21

v2.9.x-dev → v3.12019-11-21

v3.9 → v4.02021-09-07

PHP version history (2 changes)v1.0PHP ^7.0

v4.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16875434?v=4)[aahmetgaliev](/maintainers/ainurqa95)[@ainurqa95](https://github.com/ainurqa95)

![](https://avatars.githubusercontent.com/u/53088518?v=4)[sch-group](/maintainers/sch-group)[@sch-group](https://github.com/sch-group)

---

Top Contributors

[![ainurqa95](https://avatars.githubusercontent.com/u/16875434?v=4)](https://github.com/ainurqa95 "ainurqa95 (7 commits)")[![eglazunov](https://avatars.githubusercontent.com/u/36367057?v=4)](https://github.com/eglazunov "eglazunov (1 commits)")[![sch-group](https://avatars.githubusercontent.com/u/53088518?v=4)](https://github.com/sch-group "sch-group (1 commits)")[![xervin](https://avatars.githubusercontent.com/u/42388676?v=4)](https://github.com/xervin "xervin (1 commits)")

---

Tags

phppickpointpickpoint-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sch-group-pickpoint/health.svg)

```
[![Health](https://phpackages.com/badges/sch-group-pickpoint/health.svg)](https://phpackages.com/packages/sch-group-pickpoint)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)[d-scribe/laraquick

A collection of classes to be extended/used in laravel applications for quick development

371.8k1](/packages/d-scribe-laraquick)

PHPackages © 2026

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