PHPackages                             unio/slovak-post - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. unio/slovak-post

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

unio/slovak-post
================

Package generated from https://mojezasielky.posta.sk/integration/webServices/api?wsdl using wsdltophp/packagegenerator

0607PHP

Since Jun 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Ivorius/slovak-post)[ Packagist](https://packagist.org/packages/unio/slovak-post)[ RSS](/packages/unio-slovak-post/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Automaticky generované třídy z wsdl pošty - pro Elektronický podací hárok Slovenské pošty -

Použití
=======

[](#použití)

```
$options = [
        AbstractSoapClientBase::WSDL_URL => 'https://mojezasielky.posta.sk/integration/webServices/api?wsdl',
        AbstractSoapClientBase::WSDL_CLASSMAP => \Unio\SlovakPost\ClassMap::get(),
];

$odesilatel = new Odosielatel(null, 'Ivo Toman', 'Firma s.r.o.', 'Nějaká ulice',
    'Město', '09001', 'SK', '00421000000', 'test@gmail.com', 'iban cislo uctu');

$zasilky = new Zasielky();

foreach ($orders as $order) {

    $adresat = new Adresat(
        $order->getDeliveryFullName(),
        $order->getDeliveryCompany(),
        $order->getDeliveryStreet(),
        $order->getDeliveryTown(),
        $order->getDeliveryPostCode(),
        $order->getCountryCode(),
        $order->getMobilePhone(),
        $order->getEmail()
    );
    $cenaDobirky = (string) $order->getFinalPrice();

    $info = new Info(
        null, (string) $order->id, '0.00', $cenaDobirky, null, null,
        null, null, $order->getVariableSymbol()
    );

    $totalprice += $order->getFinalPrice();

    $zasilky->addToZasielka(new Zasielka($adresat, null, $info));
}

$infoEPH = new \Unio\SlovakPost\StructType\InfoEPH(
    'EUR',
    '1', //elektronicke podani - eph
    null,
    null,
    (string) count($zasilky->getZasielka()),
    8, //express
    $odesilatel,
    [new Uhrada(8, (string) $totalprice)],
    5, //dobirka na ucet
    null
);

$ephType = new EphType($infoEPH, $zasilky, '3.0');

$import = new \Unio\SlovakPost\ServiceType\Import($options);
if ($import->importSheet(new \Unio\SlovakPost\StructType\ImportSheetRequest($this->authType, $ephType, false)) !== false) {
    return $import->getResult();
} else {
    var_dump($import->getLastError());
}

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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/b90558cf27c6e7fd04ca2c0b9229b0109ce85b7a3269d1a63e843c00e97cf859?d=identicon)[Ivorius](/maintainers/Ivorius)

---

Top Contributors

[![Ivorius](https://avatars.githubusercontent.com/u/552101?v=4)](https://github.com/Ivorius "Ivorius (3 commits)")

### Embed Badge

![Health badge](/badges/unio-slovak-post/health.svg)

```
[![Health](https://phpackages.com/badges/unio-slovak-post/health.svg)](https://phpackages.com/packages/unio-slovak-post)
```

###  Alternatives

[phinq/phinq

A library for querying data and performing statistical operations in an logical, object-oriented fashion.

108.8k](/packages/phinq-phinq)

PHPackages © 2026

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