PHPackages                             frknakk/laravel-internetmarke - 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. frknakk/laravel-internetmarke

ActiveLibrary[API Development](/categories/api)

frknakk/laravel-internetmarke
=============================

Internetmarke and ProdWS Wrapper for Laravel

11.0.0(1y ago)31652MITPHPPHP ^8.0

Since Jan 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/frknakk/laravel-internetmarke)[ Packagist](https://packagist.org/packages/frknakk/laravel-internetmarke)[ RSS](/packages/frknakk-laravel-internetmarke/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (8)Used By (0)

Laravel Wrapper for [Internetmarke and ProdWS](https://entwickler.dhl.de/)
--------------------------------------------------------------------------

[](#laravel-wrapper-for-internetmarke-and-prodws)

[![Packagist PHP Version Support](https://camo.githubusercontent.com/d376a4cb5d564780cad8a0772dec05a60284dc00a2c53703d65d92429ae0a70f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f66726b6e616b6b2f6c61726176656c2d696e7465726e65746d61726b65)](https://www.php.net/downloads)[![Packagist Version](https://camo.githubusercontent.com/412127f6b543da29eb626d1e5cafb61ae43610398cbe3b3e90442fe608a8210f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726b6e616b6b2f6c61726176656c2d696e7465726e65746d61726b65)](https://packagist.org/packages/frknakk/laravel-internetmarke)[![GitHub](https://camo.githubusercontent.com/2808db0c0bd12a8bc1e13a5ea928b6fb326b8ac5165f5292d0f577ce36fa987b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f66726b6e616b6b2f6c61726176656c2d696e7465726e65746d61726b65)](LICENSE)

Require this package in the `composer.json` of your Laravel project.

```
composer require frknakk/laravel-internetmarke

```

### Basic Usage

[](#basic-usage)

##### Login and get balance

[](#login-and-get-balance)

```
echo Internetmarke::login('email', 'password')
    ->getBalance()
// 1234.56
```

##### Preview stamp \[PNG\]

[](#preview-stamp-png)

```
$preview_url = \Internetmarke::login('email', 'password')
    ->getPreviewPNG(1, 'AddressZone');
// https://internetmarke.deutschepost.de/PcfExtensionWeb/preview?keyphase=0&data=...
```

##### Purchase stamp \[PNG\]

[](#purchase-stamp-png)

```
$receiver = Internetmarke::createAddress()
    ->company('Testfirma GmbH')
    ->street('Musterstrasse')
    ->housenr('1')
    ->zipcode('12345')
    ->city('Musterstadt')
    ->country('DEU'); // ISO-3166-1 Alpha-3 code

$sender = Internetmarke::createAddress()
    ->firstname('Max')
    ->lastname('Mustermann')
    ->streetAndHousenr('Musterstrasse 1')
    ->zipcodeAndCity('12345 Musterstadt')
    ->country('DEU'); // ISO-3166-1 Alpha-3 code

$full_path_to_png = Internetmarke::login('email', 'password')
    ->checkoutPDF(null, 1, 80, 'AddressZone', $receiver, $sender)
    ->savePDF();
```

##### Retrieve products (ProdWS)

[](#retrieve-products-prodws)

```
$only_sales_products = false; // false/true, default: false
$products = ProdWS::getProducts($only_sales_products);
/**
 * Example response (json encoded):
 * {
 *    "sales_products":[
 *       {
 *          "extendedIdentifier":{ ... },
 *          "priceDefinition":{ ... },
 *          "dimensionList":{ ... },
 *          "weight":{ ... },
 *          "destinationArea":{ ... },
 *          "categoryList":{ ... },
 *          "stampTypeList":{ ... },
 *          "accountProductReferenceList":{ ... }
 *       },
 *       [...]
 *    ],
 *    "basic_products":[
 *       {
 *          "extendedIdentifier":{ ... },
 *          "priceDefinition":{ ... },
 *          "dimensionList":{ ... },
 *          "weight":{ ... },
 *          "propertyList":{ ... },
 *          "destinationArea":{ ... },
 *          "documentReferenceList":{ ... }
 *       },
 * 	     [...]
 *    ],
 *    "additional_products":[
 *       {
 *          "extendedIdentifier":{ ... },
 *          "priceDefinition": { ... },
 *          "propertyList": { ... },
 *          "documentReferenceList": { ... }
 *       },
 *       [...]
 *    ]
 * }
 */
```

### Configuration

[](#configuration)

You can either set the following environment variables:

```
INTERNETMARKE_PARTNER_ID=""
INTERNETMARKE_SECRET_KEY=""
INTERNETMARKE_KEY_PHASE=1
PRODWS_MANDANT_ID=""
PRODWS_USERNAME=""
PRODWS_PASSWORD=""

```

or publish and edit the `internetmarke.php` configuration file:

```
php artisan vendor:publish --tag=internetmarke-config

```

### Glossary

[](#glossary)

##### Portokasse

[](#portokasse)

Portokasse is a prepaid wallet account system, with which you can top up your balance and purchase internet stamps.

##### ProdWS

[](#prodws)

ProdWS is a soap web service for retrieving the currently valid `product- and price list (PPL)`.

There are **sales**, **basic** and **additional** products. Sales products are the combinations of one basic product and several additional products. To purchase a stamp, you have to provide the **PPL-ID** of the desired sales product.

##### Internetmarke

[](#internetmarke)

Internetmarke is a soap web service for previewing and purchasing internet stamps, after authenticating with an `Portokasse` account.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~205 days

Recently: every ~229 days

Total

7

Last Release

710d ago

Major Versions

1.0.5 → 11.0.02024-06-01

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.0

11.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5730574?v=4)[Furkan Akkoc](/maintainers/frknakk)[@frknakk](https://github.com/frknakk)

---

Top Contributors

[![frknakk](https://avatars.githubusercontent.com/u/5730574?v=4)](https://github.com/frknakk "frknakk (11 commits)")

---

Tags

laravelinternetmarkeprodwseportoportokasse

### Embed Badge

![Health badge](/badges/frknakk-laravel-internetmarke/health.svg)

```
[![Health](https://phpackages.com/badges/frknakk-laravel-internetmarke/health.svg)](https://phpackages.com/packages/frknakk-laravel-internetmarke)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[codedredd/laravel-soap

A SoapClient wrapper integration for Laravel

221516.6k3](/packages/codedredd-laravel-soap)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)

PHPackages © 2026

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