PHPackages                             baraja-core/zasilkovna - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. baraja-core/zasilkovna

ActiveLibrary[HTTP &amp; Networking](/categories/http)

baraja-core/zasilkovna
======================

Zasilkovna SOAP and REST client in PHP

v2.0.3(4y ago)23.9k[4 PRs](https://github.com/baraja-core/zasilkovna/pulls)1LGPL-3.0PHPPHP ^8.0

Since Nov 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/baraja-core/zasilkovna)[ Packagist](https://packagist.org/packages/baraja-core/zasilkovna)[ Docs](https://github.com/baraja-core/zasilkovna)[ RSS](/packages/baraja-core-zasilkovna/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (8)Versions (11)Used By (1)

Zasilkovna client in PHP using SOAP or REST API
===============================================

[](#zasilkovna-client-in-php-using-soap-or-rest-api)

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

[](#installation)

Install using [Composer](http://getcomposer.org/):

```
$ composer require baraja-core/zasilkovna
```

Documentation
-------------

[](#documentation)

See  for more info

Example code
------------

[](#example-code)

```
$api = new Baraja\Zasilkovna\ApiRest($apiPassword, $apiKey);
// OR Soap implementation $api = new Baraja\Zasilkovna\ApiSoap($apiPassword, $apiKey);
$branch = new Branch($apiKey, new BranchStorageSqLite()); // There are multiple implementations of IBranchStorage BranchStorageSqLite using SQLite, BranchStorageFile using file in /tmp and BranchStorageMemory using simple variable (SLOW), You can implement your own by implementing IBranchStorage interface
$label = new Label($api, $branch);

// To greate new packet
$transporterPackage = new PacketAttributes(
	'ORDERID',
	'FirstName',
	'LastName',
	null,
	'addressId',
	null,
	'Company',
	'Email',
	'Phone',
	null,
	null,
	null,
	'www',
	false,
	'Street',
	'StreetNumber',
	'City',
	'ZipCode'
);

$api->createPacket($transporterPackage);

// Generate A4 label
$label->generateLabelFull($pdf, $transporterPackage);

// Generate A2 label
$label->generateLabelQuarter($pdf, $transporterPackage);

// Get full branch list as array
$branch->getBranchList();

// Returns branch detail by ID
$branch->find($branchId);
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~95 days

Total

5

Last Release

1559d ago

Major Versions

v1.0.0 → v2.0.02021-02-09

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

v2.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![janbarasek](https://avatars.githubusercontent.com/u/4738758?v=4)](https://github.com/janbarasek "janbarasek (38 commits)")[![Salamek](https://avatars.githubusercontent.com/u/1226241?v=4)](https://github.com/Salamek "Salamek (32 commits)")[![martinknor](https://avatars.githubusercontent.com/u/2004222?v=4)](https://github.com/martinknor "martinknor (3 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")[![imgbot[bot]](https://avatars.githubusercontent.com/in/4706?v=4)](https://github.com/imgbot[bot] "imgbot[bot] (1 commits)")[![paveltizek](https://avatars.githubusercontent.com/u/4325109?v=4)](https://github.com/paveltizek "paveltizek (1 commits)")

---

Tags

apirestsoapZasilkovna

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/baraja-core-zasilkovna/health.svg)

```
[![Health](https://phpackages.com/badges/baraja-core-zasilkovna/health.svg)](https://phpackages.com/packages/baraja-core-zasilkovna)
```

###  Alternatives

[salamek/zasilkovna

Zasilkovna SOAP and REST client in PHP

1156.7k1](/packages/salamek-zasilkovna)[mezzio/mezzio-problem-details

Problem Details for PSR-7 HTTP APIs addressing the RFC 7807 standard

271.1M24](/packages/mezzio-mezzio-problem-details)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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