PHPackages                             riesenia/sps-webship-api - 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. riesenia/sps-webship-api

ActiveLibrary[API Development](/categories/api)

riesenia/sps-webship-api
========================

SPS Webship Api PHP client implementation

v2.0.0(11mo ago)219.1k↓48.4%4MITPHPPHP &gt;=7.0

Since Mar 7Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/riesenia/sps-webship-api)[ Packagist](https://packagist.org/packages/riesenia/sps-webship-api)[ RSS](/packages/riesenia-sps-webship-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)DependenciesVersions (8)Used By (0)

SPS Webship API
===============

[](#sps-webship-api)

SPS Webship API PHP client implementation. See [webservice documentation](http://www.solver.sk/webship/webshipApiDokumentaciaEN.pdf) for details.

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

[](#installation)

Install the latest version using `composer require riesenia/sps-webship-api`

Usage
-----

[](#usage)

Create API with username and password

```
use Riesenia\SpsWebship\Api;

$api = new Api($username, $password);
```

### Create shipment

[](#create-shipment)

```
$data = [
    'cod' => [
        'codvalue' => 12.30
    ],
    'insurvalue' => 12.30,
    'notifytype' => 1,
    ...
];

if (!$api->createShipment($shipment)) {
    echo $api->getMessages();
}
```

### Print shipment labels

[](#print-shipment-labels)

```
$url = $api->printShipmentLabels();

if (!$url) {
    echo $api->getMessages();
}
```

### Print end of day report

[](#print-end-of-day-report)

```
$url = $api->printEndOfDay();

if (!$url) {
    echo $api->getMessages();
}
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance52

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 92.3% 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 ~512 days

Recently: every ~521 days

Total

7

Last Release

332d ago

Major Versions

v1.4.0 → v2.0.02025-08-07

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

v1.1.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/40c7ed7cfaebeddae57ac4a376c8f21df56dd2f38821b7ba92ea1312ef8020c8?d=identicon)[riesenia](/maintainers/riesenia)

---

Top Contributors

[![segy](https://avatars.githubusercontent.com/u/1355459?v=4)](https://github.com/segy "segy (12 commits)")[![Brezak](https://avatars.githubusercontent.com/u/59848927?v=4)](https://github.com/Brezak "Brezak (1 commits)")

### Embed Badge

![Health badge](/badges/riesenia-sps-webship-api/health.svg)

```
[![Health](https://phpackages.com/badges/riesenia-sps-webship-api/health.svg)](https://phpackages.com/packages/riesenia-sps-webship-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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