PHPackages                             thirtybees/postnl-api-php - 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. thirtybees/postnl-api-php

Abandoned → [firstred/postnl-api-php](/?search=firstred%2Fpostnl-api-php)Library[API Development](/categories/api)

thirtybees/postnl-api-php
=========================

PostNL REST API PHP Bindings

v1.3.11(4y ago)273.0k36[4 issues](https://github.com/thirtybees/postnl-api-php/issues)MITPHPPHP ^5.6 || ^7.0 || ^8.0CI passing

Since Mar 8Pushed 5mo ago8 watchersCompare

[ Source](https://github.com/thirtybees/postnl-api-php)[ Packagist](https://packagist.org/packages/thirtybees/postnl-api-php)[ RSS](/packages/thirtybees-postnl-api-php/feed)WikiDiscussions v2.0.x Synced 6d ago

READMEChangelog (10)Dependencies (17)Versions (38)Used By (0)

Unofficial PostNL REST API PHP Bindings
=======================================

[](#unofficial-postnl-rest-api-php-bindings)

[![Latest Stable Version](https://camo.githubusercontent.com/bd9ea2716e04fd6bdf133368b1bfe061e979622a71a5038961fd12ae782a1b71/68747470733a2f2f706f7365722e707567782e6f72672f66697273747265642f706f73746e6c2d6170692d7068702f76)](https://packagist.org/packages/firstred/postnl-api-php)[![Total Downloads](https://camo.githubusercontent.com/6b36333da7536954ec41fad17185f21e02a9cb5975428eda18878dd788cfdb25/68747470733a2f2f706f7365722e707567782e6f72672f66697273747265642f706f73746e6c2d6170692d7068702f646f776e6c6f616473)](https://packagist.org/packages/firstred/postnl-api-php)[![.github/workflows/test.yaml](https://github.com/firstred/postnl-api-php/actions/workflows/test.yaml/badge.svg)](https://github.com/firstred/postnl-api-php/actions/workflows/test.yaml)[![Documentation Status](https://camo.githubusercontent.com/d50be30a6f78d8db9b07d843787d31a859533bfb7037204d990dbc56b9d4e196/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f706f73746e6c2d7068702f62616467652f3f76657273696f6e3d76322e302e78)](https://postnl-php.readthedocs.io/en/v2.0.x/)[![codecov](https://camo.githubusercontent.com/61b81fae45feaa63e823c03fd5866045f30988eda94aa9800a14d146220f58ba/68747470733a2f2f636f6465636f762e696f2f67682f66697273747265642f706f73746e6c2d6170692d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/firstred/postnl-api-php)[![license mit](https://camo.githubusercontent.com/15ea7136eef1f5e3d1f8c4e09f1acb3c902c8cc80e60919ab4338077442d6b87/68747470733a2f2f706f7365722e707567782e6f72672f66697273747265642f706f73746e6c2d6170692d7068702f6c6963656e73652e737667)](https://packagist.org/packages/firstred/postnl-api-php)[![PHP Version Require](https://camo.githubusercontent.com/dfb26e9527f83fb2278f72cb64b44e04a3fdf2c65ad0e76054b73a98ed319418/68747470733a2f2f706f7365722e707567782e6f72672f66697273747265642f706f73746e6c2d6170692d7068702f726571756972652f706870)](https://packagist.org/packages/firstred/postnl-api-php)

About
-----

[](#about)

This unofficial PHP library for the PostNL REST API aims to provide a simple way to connect your application with PostNL. By abstracting away needless complexity when processing shipment information and increased fault-tolerance, you can get up and running with PostNL in minutes.
At the lower level this library uses asynchronous communication and payload splitting for improved performance.

### Status

[](#status)

ServiceStatusVersion**Addresses**Adrescheck NationaalN/AN/AAdrescheck Basis NationaalN/AN/AAdrescheck InternationaalN/AN/AGeo Adrescheck NationaalN/AN/A**Creditworthiness &amp; Business information**Bedrijfscheck NationaalN/AN/AKredietcheck ZakelijkN/AN/A**Send &amp; Track**Barcode webservice✓1.1Labelling webservice✓2.2Confirming webservice✓2.0Shippingstatus webservice✓2.0Shipping webservice✓2.0**Delivery Options**Deliverydate webservice✓2.2Location webservice✓2.1Timeframe webservice✓2.1Checkout webserviceN/A \*1.0**Mail**Bulkmail webserviceN/AN/A\* `PostNL::getTimeframesAndNearestLocations` can be used as an alternative with more functionality:

Instructions
------------

[](#instructions)

- Clone this repo
- Run `composer install` (Don't have composer? Visit )
- Optionally run `composer require guzzlehttp/guzzle` to use Guzzle instead of cURL directly
- You're good to go! A small example can be found in this README. Check out the full documentation for a [quick start guide](https://postnl-php.readthedocs.io/en/v1.2.x/quickstart.html).

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

[](#documentation)

### Example

[](#example)

Allow a user to download a label using the default REST API

```
