PHPackages                             hpolthof/laravel-postcode-tech - 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. hpolthof/laravel-postcode-tech

ActiveLibrary[API Development](/categories/api)

hpolthof/laravel-postcode-tech
==============================

Package to use postcode.tech with Laravel.

v1.0.2(5y ago)0661gpl-3.0PHPPHP ^7.3|^8.0CI failing

Since Feb 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hpolthof/laravel-postcode-tech)[ Packagist](https://packagist.org/packages/hpolthof/laravel-postcode-tech)[ Docs](https://postcode.tech)[ RSS](/packages/hpolthof-laravel-postcode-tech/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Laravel Dutch Postcode Lookup
=============================

[](#laravel-dutch-postcode-lookup)

[![Build Status](https://camo.githubusercontent.com/9ff60a87c39ba0a71c823ea767a613b65761808250cb157c0c9620a9dcca12a2/68747470733a2f2f7472617669732d63692e6f72672f68706f6c74686f662f6c61726176656c2d706f7374636f64652d746563682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hpolthof/laravel-postcode-tech)

This is a Laravel implementation for the API of [Postcode.Tech](https://postcode.tech). You need an API key for this API to work. You can register for free and create an API Key.

The packages uses the [PHP implementation of Postcode.tech](https://github.com/hpolthof/postcode-tech).

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

[](#installation)

To install use composer

```
composer require hpolthof/laravel-postcode-tech
```

Usage
-----

[](#usage)

Register at [Postcode.Tech](https://postcode.tech) and create an API token.

Add the following to your `.env` file:

```
POSTCODE_TOKEN="{YOUR TOKEN HERE}"

```

During installation a service provider and facade will be automatically discovered.

You can now lookup a postcode using:

```
$address = \Postcode::find('1071BM', 29);

if ($address) {
    $street = $address->street();
    $city   = $address->city();
}
```

The method `find()` will return `null` if the postcode is not found and will return an exception if there was an error during the API request. These exceptions can be found at: .

Disclaimer
----------

[](#disclaimer)

This package can be used free of charge. Obviously this software comes as is, and there are no warranties or whatsoever.

If you like the package it is always appreciated if you drop a message of gratitude! ;-)

The package was build by: [Paul Olthof](mailto:hi@olthof.tech)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~215 days

Total

3

Last Release

1834d ago

PHP version history (2 changes)v1.0.0PHP ^7.3

v1.0.2PHP ^7.3|^8.0

### Community

Maintainers

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

---

Top Contributors

[![basepack](https://avatars.githubusercontent.com/u/939500?v=4)](https://github.com/basepack "basepack (2 commits)")[![hpolthof](https://avatars.githubusercontent.com/u/1415623?v=4)](https://github.com/hpolthof "hpolthof (2 commits)")

### Embed Badge

![Health badge](/badges/hpolthof-laravel-postcode-tech/health.svg)

```
[![Health](https://phpackages.com/badges/hpolthof-laravel-postcode-tech/health.svg)](https://phpackages.com/packages/hpolthof-laravel-postcode-tech)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M111](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)

PHPackages © 2026

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