PHPackages                             salamek/ppl-my-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. salamek/ppl-my-api

ActiveLibrary[API Development](/categories/api)

salamek/ppl-my-api
==================

Professional Parcel Logistic MyApi client in PHP

2.7.4(1y ago)29380.3k↑38.5%35[1 issues](https://github.com/Salamek/PplMyApi/issues)2LGPL-3.0-onlyPHPPHP &gt;=7.3.0

Since Jun 28Pushed 1y ago5 watchersCompare

[ Source](https://github.com/Salamek/PplMyApi)[ Packagist](https://packagist.org/packages/salamek/ppl-my-api)[ Docs](https://github.com/Salamek/PplMyApi)[ RSS](/packages/salamek-ppl-my-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (46)Used By (2)

Warning

This project is deprecated and no new features will be implemented due to PPL pushing out new (and better designed) REST based API (MyApi2) so if you are implementing new PPL integration please use MyApi2 for example ~implemented by  (this project is not drop-in replacement for PplMyApi and is missing some features but it is good building block to start)

Professional Parcel Logistic MyApi client in PHP with PDF and ZPL label generator
=================================================================================

[](#professional-parcel-logistic-myapi-client-in-php-with-pdf-and-zpl-label-generator)

[![Test status](https://github.com/Salamek/PplMyApi/actions/workflows/php.yml/badge.svg)](https://github.com/Salamek/PplMyApi/actions/workflows/php.yml)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/salamek)

> Please consider sponsoring if you're using this package commercially, my time is not free :) You can sponsor me by clicking on "Sponsor" button in top button row. Thank You./Prosím pouvažujte nad sponzorováním tohoto projektu pokud používáte tento projekt komerčně, můj čas není zadarmo :) Sponzorovat můžete kliknutím na tlačítko "Sponsor" v horní řadě tlačítkek. Děkuji.

Professional Parcel Logistic MyApi client in PHP with PDF and ZPL label generator

Requirements
------------

[](#requirements)

- PHP 7.3 or higher

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

[](#installation)

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

```
$ composer require salamek/ppl-my-api
```

or if you want master branch code:

```
$ composer require salamek/ppl-my-api:dev-master
```

Credentials
-----------

[](#credentials)

You must request MyAPI credentials from PPL IT, it is not same as klient.ppl.cz credentials!

Usage
-----

[](#usage)

Consult official PPL documentation for methods description

~Runnable examples of code are in [examples](examples) folder of this project.

- [apiCheck.php](examples/apiCheck.php) Simple example to test connection to PPL MyApi
- [getApiVersion.php](examples/getApiVersion.php) Simple example to show how to get MyApi version
- [createPackages.php](examples/createPackages.php) Example how to create basic packages
- [createPackagesWithCod.php](examples/createPackagesWithCod.php) Example how to create packages with COD (Cash On Delivery)
- [createPackagesWithService.php](examples/createPackagesWithService.php) Example how to create packages with additional services
- [createPickupOrders.php](examples/createPickupOrders.php) Example how to create Pickup Orders
- [createOrders.php](examples/createOrders.php) Example how to create Orders
- [getCitiesRouting.php](examples/getCitiesRouting.php) Example how to get cities routing
- [getLabel.php](examples/getLabel.php) Example to show how to generate PDF and ZPL labels for print
- [getPackages.php](examples/getPackages.php) Example to show how to get list of created packages
- [getParcelShops.php](examples/getParcelShops.php) Example to show how to get list of parcel shops
- [getSprintRoutes.php](examples/getSprintRoutes.php) Example to show how to get list of sprint routes

PPL Package number format
-------------------------

[](#ppl-package-number-format)

```
40990019352
│├┘│└─────┴──── [0019352] SeriesNumber
││ └─────────── [9] IsCashOnDelivery 9==CoD & 5== NonCoD (for some product it is 8==CoD & 0=NonCoD)
│└───────────── [09] DepoCode
└────────────── [4] ProductType
```

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 83% 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 ~61 days

Recently: every ~129 days

Total

43

Last Release

688d ago

Major Versions

v1.3.3 → v2.0.02021-08-05

v1.3.4 → 2.5.22022-10-11

PHP version history (4 changes)v1.0PHP &gt;=5.4.0

v1.2.5PHP &gt;=5.6.0

v2.0.0PHP &gt;=7.1.0

2.2.2PHP &gt;=7.3.0

### Community

Maintainers

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

---

Top Contributors

[![Salamek](https://avatars.githubusercontent.com/u/1226241?v=4)](https://github.com/Salamek "Salamek (190 commits)")[![mirekratman](https://avatars.githubusercontent.com/u/555351?v=4)](https://github.com/mirekratman "mirekratman (10 commits)")[![AlexKratky](https://avatars.githubusercontent.com/u/33813757?v=4)](https://github.com/AlexKratky "AlexKratky (7 commits)")[![jan-kratochvil](https://avatars.githubusercontent.com/u/10809796?v=4)](https://github.com/jan-kratochvil "jan-kratochvil (4 commits)")[![JanGalek](https://avatars.githubusercontent.com/u/13171542?v=4)](https://github.com/JanGalek "JanGalek (3 commits)")[![paveltizek](https://avatars.githubusercontent.com/u/4325109?v=4)](https://github.com/paveltizek "paveltizek (3 commits)")[![sajfi](https://avatars.githubusercontent.com/u/597035?v=4)](https://github.com/sajfi "sajfi (2 commits)")[![krajcikondra](https://avatars.githubusercontent.com/u/7726222?v=4)](https://github.com/krajcikondra "krajcikondra (2 commits)")[![samuelszabo](https://avatars.githubusercontent.com/u/403439?v=4)](https://github.com/samuelszabo "samuelszabo (2 commits)")[![simplesscz](https://avatars.githubusercontent.com/u/28420200?v=4)](https://github.com/simplesscz "simplesscz (1 commits)")[![edgering](https://avatars.githubusercontent.com/u/3528128?v=4)](https://github.com/edgering "edgering (1 commits)")[![pavolbiely](https://avatars.githubusercontent.com/u/115791?v=4)](https://github.com/pavolbiely "pavolbiely (1 commits)")[![AndriyFil](https://avatars.githubusercontent.com/u/36197959?v=4)](https://github.com/AndriyFil "AndriyFil (1 commits)")[![samotlark](https://avatars.githubusercontent.com/u/12599535?v=4)](https://github.com/samotlark "samotlark (1 commits)")[![hary28](https://avatars.githubusercontent.com/u/4209295?v=4)](https://github.com/hary28 "hary28 (1 commits)")

---

Tags

api-clientdhllabelsphppplppl-myapisprint-routesapiPPLProfessional Parcel Logistic

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/salamek-ppl-my-api/health.svg)

```
[![Health](https://phpackages.com/badges/salamek-ppl-my-api/health.svg)](https://phpackages.com/packages/salamek-ppl-my-api)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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