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(9mo ago)218.1k↓22.6%4MITPHPPHP &gt;=7.0

Since Mar 7Pushed 9mo 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 1mo 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

44

—

FairBetter than 92% of packages

Maintenance57

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

285d 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

[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)
