PHPackages                             justbetter/statamic-postcodenl - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. justbetter/statamic-postcodenl

ActivePackage[Utility &amp; Helpers](/categories/utility)

justbetter/statamic-postcodenl
==============================

Package for adding Postcode.nl form fields

3.0.1(1y ago)0495[1 PRs](https://github.com/justbetter/statamic-postcodenl/pulls)PHPPHP ^8.0|^8.1

Since Jun 16Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/justbetter/statamic-postcodenl)[ Packagist](https://packagist.org/packages/justbetter/statamic-postcodenl)[ RSS](/packages/justbetter-statamic-postcodenl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (0)

[ ![Banner](./art/banner.png)](https://github.com/justbetter/statamic-postcodenl "JustBetter")Statamic Postcode.nl
====================

[](#statamic-postcodenl)

> This addon adds Postcode.nl field types to the Form Builder.

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

[](#installation)

```
composer require justbetter/statamic-postcodenl
```

Configuration
-------------

[](#configuration)

Add the following items to your .env, these settings consist of the Key and Secret provided by Postcode.nl.

```
POSTCODENL_KEY=""
POSTCODENL_SECRET=""
```

How to Use
----------

[](#how-to-use)

### Form settings

[](#form-settings)

When building a form it's now possible to make use of the Postcode.nl fields. When selecting the Postcode.nl field you need to select the according field type, these consist of:

- Zipcode (Required)
- House number (Required)
- House number addition (Optional)
- Street (Required)
- City (Required)

Make sure to add all the required field types to your form as they are needed for this to work.

### Tags

[](#tags)

To add this functionality to your form you have to use our Postcode.nl tag. At the bottom of your form view you need to add the following tag:

#### Antlers

[](#antlers)

```
{{ postcodenl:initPostcodenl :formId="form_handle" }}
```

#### Blade

[](#blade)

```
{!! Statamic::tag('postcodenl:initPostcodenl')->param('formId', $form->handle)->fetch() !!}
```

As the Postcode.nl field types are an extend of the normal text field type, you can use this type the same way as the text field type for your forms. For example you could still look at the `input_type` field to determine the field type you need to load into your form.

Make sure you're using the correct variable when passing the formId, this variable should be the handle of your form. i.e 'contact'.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance65

Regular maintenance activity

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Recently: every ~115 days

Total

8

Last Release

602d ago

Major Versions

1.0.3 → 2.0.02023-06-27

2.0.1 → 3.0.02024-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d00b3f55cd4ae8b8cfb001a644ed6c7a1127a956c24375bcfe16ce12bd89bed?d=identicon)[justbetter](/maintainers/justbetter)

---

Top Contributors

[![kevinmeijer97](https://avatars.githubusercontent.com/u/9716909?v=4)](https://github.com/kevinmeijer97 "kevinmeijer97 (27 commits)")

### Embed Badge

![Health badge](/badges/justbetter-statamic-postcodenl/health.svg)

```
[![Health](https://phpackages.com/badges/justbetter-statamic-postcodenl/health.svg)](https://phpackages.com/packages/justbetter-statamic-postcodenl)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[swiftmade/statamic-clear-assets

Deletes unused assets. Saves storage space.

1938.6k](/packages/swiftmade-statamic-clear-assets)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2912.8k](/packages/aerni-livewire-forms)

PHPackages © 2026

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