PHPackages                             justbetter/statamic-postcodeservice - 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-postcodeservice

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

justbetter/statamic-postcodeservice
===================================

Package for adding postcodeservice form fields

2.3.1(3mo ago)1227↓50%1PHPPHP ^8.0|^8.1

Since Jun 14Pushed 3mo ago3 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (16)Used By (0)

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

[](#statamic-postcodeservice)

> This addon adds Postcodeservice field types to the Form Builder.

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

[](#installation)

```
composer require justbetter/statamic-postcodeservice
```

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

[](#configuration)

Add the following items to your .env, these settings consist of the Client ID and the Secure Code provided by Postcodeservice.

```
POSTCODESERVICE_CLIENT_ID=""
POSTCODESERVICE_SECURE_CODE=""
```

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

[](#how-to-use)

### Form settings

[](#form-settings)

When building a form it's now possible to make use of the Postcodeservice fields. When selecting the Postcodeservice 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 Postcodeservice tag. At the bottom of your form view you need to add the following tag:

#### Antlers

[](#antlers)

```
{{ postcodeservice:initPostcodeservice :formId="form_handle" }}
```

#### Blade

[](#blade)

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

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

46

—

FairBetter than 93% of packages

Maintenance82

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 77.5% 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 ~75 days

Recently: every ~129 days

Total

14

Last Release

90d ago

Major Versions

1.0.6 → 2.0.02023-07-13

### 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 (31 commits)")[![niekboon](https://avatars.githubusercontent.com/u/81699906?v=4)](https://github.com/niekboon "niekboon (3 commits)")[![danielsmink](https://avatars.githubusercontent.com/u/2118314?v=4)](https://github.com/danielsmink "danielsmink (2 commits)")[![Jade-GG](https://avatars.githubusercontent.com/u/32514269?v=4)](https://github.com/Jade-GG "Jade-GG (2 commits)")[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (2 commits)")

### Embed Badge

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

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

###  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)
