PHPackages                             keesschepers/postcodenl-api-bundle - 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. keesschepers/postcodenl-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

keesschepers/postcodenl-api-bundle
==================================

http://api.postcode.nl integration in Symfony2.

13.3k2PHPCI failing

Since Sep 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/keesschepers/PostcodenlApiBundle)[ Packagist](https://packagist.org/packages/keesschepers/postcodenl-api-bundle)[ RSS](/packages/keesschepers-postcodenl-api-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PostcodeNL Api Bundle
=====================

[](#postcodenl-api-bundle)

This bundle helps you integrating the [Postcode.nl API](http://api.postcode.nl) into your Symfony project. With this integrated you can autocomplete street and places automaticly based on the user supploed postalcode and house number.

Installation
============

[](#installation)

Add this bundle to your composer.json:

```
{
    "require": {
        "keesschepers/postcodenl-api-bundle": "dev-master"
    }
}

```

Second, add the bundle to your AppKernel.php:

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new Keesschepers\PostcodenlApiBundle\KeesschepersPostcodenlApiBundle(),
    );
}

```

Third, you need to configure the bundle by adding the following to your config.yml:

```
keesschepers_postcodenl_api:
    base_url: "https://api.postcode.nl/rest/addresses"
    timeout: 5
    api_user: %keesschepers_postcodenl_api.api_user%
    api_secret: %keesschepers_postcodenl_api.api_secret%

```

Where you can supply api\_user and api\_secret directly or like the example above in your parameters.yml (recommended).

And optionally import the routing.yml into your project:

```
keesschepers_postcodenl_api:
    resource: "@KeesschepersPostcodenlApiBundle/Resources/config/routing.yml"
    prefix:   /

```

If you followed these steps correctly you should have access to the followin url:

```
http://your.project.local/app_dev.php/get-postalcode-details?zipcode=0000XX&address-number=XX

```

Advance usage
=============

[](#advance-usage)

You can also use the service in your own controller:

```
$api = $this->get('keesschepers_postcodenl_api.api');
$response = $api->getResponseByPostcodeAndHousenumber($postalcode, $housenr);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 84.6% 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.

### Community

Maintainers

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

---

Top Contributors

[![keesschepers](https://avatars.githubusercontent.com/u/915930?v=4)](https://github.com/keesschepers "keesschepers (11 commits)")[![machiel](https://avatars.githubusercontent.com/u/315295?v=4)](https://github.com/machiel "machiel (1 commits)")[![stevensack](https://avatars.githubusercontent.com/u/1225520?v=4)](https://github.com/stevensack "stevensack (1 commits)")

### Embed Badge

![Health badge](/badges/keesschepers-postcodenl-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/keesschepers-postcodenl-api-bundle/health.svg)](https://phpackages.com/packages/keesschepers-postcodenl-api-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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