PHPackages                             dmitriy12345work/spsr-shipment - 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. dmitriy12345work/spsr-shipment

ActiveLibrary[API Development](/categories/api)

dmitriy12345work/spsr-shipment
==============================

API for SPSR-EXPRESS shipping

v0.1.9(8y ago)0608MITPHPPHP &gt;=5.4.0

Since Apr 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dmitriy12345work/spsr-shipment)[ Packagist](https://packagist.org/packages/dmitriy12345work/spsr-shipment)[ Docs](https://github.com/dmitriy12345work/spsr-shipment)[ RSS](/packages/dmitriy12345work-spsr-shipment/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (11)Used By (0)

SPSR PHP WRAPPER
================

[](#spsr-php-wrapper)

This project aims to provide a PHP wrapper for [SPSR API](http://www.spsr.ru/en/).

Installation
------------

[](#installation)

The preferred way to install is through [composer](http://getcomposer.org/download/).

Either run

```
composer require "stp/spsr-shipment *"

```

or add

```
{
    "require": {
        "stp/spsr-shipment": "*"
    }
}
```

to the require section of your composer.json.

Usage
-----

[](#usage)

### Constructing the Client

[](#constructing-the-client)

```
use stp\spsr\SpsrApi;

$api = new SpsrApi($login, $password, $icn);
```

### Create request

[](#create-request)

Every API method has the same variable name as in official documentation.

```
use stp\spsr\message\GetCitiesMessage,
    stp\spsr\response\City;

$msg = new GetCitiesMessage();
$msg->CityName = 'Москва';

/** @var City[] $cities */
$cities = $api->request($msg);
```

For more information, see [USAGE.md](USAGE.md)

Implemented API Methods
-----------------------

[](#implemented-api-methods)

- [Tariff Calculation](message/TariffMessage.php)
- [WACreateOrder](message/CreateOrderMessage.php)
- [WAXmlConverter](message/InvoiceMessage.php)
- [WAGetInvoiceInfo 1.1](message/GetInvoiceInfoMessage.php)
- [WAMonitorInvoiceInfo 1.3](message/MonitorInvoiceInfoMessage.php)
- [WABindOrderToInvoice](message/BindOrderToInvoiceMessage.php)
- [WAGetActiveOrders](message/GetActiveOrdersMessage.php)
- [WAGetAddress](message/GetAddressMessage.php)
- [WAGetCities](message/GetCitiesMessage.php)
- WANewInvoicesByFile
- WAInvSessionInfo
- WAGetExtMon
- [WAGetServices](message/GetServicesMessage.php)
- WAGetStreet
- WAGetEncloseType
- [WAAddAddress](message/AddAddressMessage.php)
- WAEditAddress
- [WADelAddress](message/DelAddressMessage.php)
- WAGetOrders
- WACancelOrder
- WACheckGetQuotaByAddress
- WAReservQuota
- WAReservQuotaDelete

Pull requests are very welcome!
-------------------------------

[](#pull-requests-are-very-welcome)

Documentation russian: [SPSR.WebApi.IntegrationDocs.v.1.3.38.zip](http://www.filehosting.org/file/details/696061/SPSR.WebApi.IntegrationDocs.v.1.3.38.zip)Documentation english: [SPSR.WebApi.IntegrationDocs.v.1.3.38Eng.zip](http://www.filehosting.org/file/details/696060/SPSR.WebApi.IntegrationDocs.v.1.3.38Eng.zip)

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.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 ~89 days

Recently: every ~9 days

Total

10

Last Release

3198d ago

### Community

Maintainers

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

---

Top Contributors

[![AStepanov](https://avatars.githubusercontent.com/u/1326455?v=4)](https://github.com/AStepanov "AStepanov (22 commits)")[![dmitriy12345work](https://avatars.githubusercontent.com/u/20161498?v=4)](https://github.com/dmitriy12345work "dmitriy12345work (16 commits)")

---

Tags

apishippingdeliveryshipmentsSPSR

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/dmitriy12345work-spsr-shipment/health.svg)

```
[![Health](https://phpackages.com/badges/dmitriy12345work-spsr-shipment/health.svg)](https://phpackages.com/packages/dmitriy12345work-spsr-shipment)
```

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4562.3M10](/packages/gabrielbull-ups-api)[picqer/sendcloud-php-client

A PHP Client for the SendCloud API

45392.2k1](/packages/picqer-sendcloud-php-client)[valentinmari/glovo-api-php

Glovo Business API

233.6k](/packages/valentinmari-glovo-api-php)

PHPackages © 2026

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