PHP developer in Amsterdam

WordPress for businesses in Amsterdam, delivered remotely by one developer.

PHP developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.
  • Local WordPress meetup: WordPress Amsterdam

My WordPress.org profile

A Dutch business customer often logs in to a portal with eHerkenning, not with a username created for your application. For a custom PHP portal that raises a concrete question: what does the broker do, and what is still yours to build? I am Mariusz Szatkowski, a PHP developer in Gdynia, and a login that someone else performed is the part I build around. This page covers the scheme as the official sources describe it. I am not a lawyer, and the choice of assurance level is a decision for your organisation and your adviser.

Canal houses along an Amsterdam canal

A canal in Amsterdam in July 2006. Photograph by Diliff, released under CC BY 2.5 and hosted on Wikimedia Commons.

#What is eHerkenning for a PHP developer?

Logius describes eHerkenning as an authentication means that lets entrepreneurs, intermediaries and employees log in safely to connected (government) organisations. It does two jobs. It identifies the person (authentication), and it checks that the person is authorised to act for the organisation (authorisation). Logius manages the scheme, the afsprakenstelsel, for the Ministry of the Interior and Kingdom Relations, and publishes the rules at afsprakenstelsel.etoegang.nl.

The official pages describe roles that map to a software design:

  • the service provider, which is your portal;
  • the broker (eHerkenningsmakelaar), a recognised ICT company that implements eHerkenning in your environment;
  • the supplier (leverancier), which issues the login means to your customers;
  • the customer, who buys the means from a supplier of their choice and brings it to you and to other service providers.

So your PHP code never sees a password and never issues credentials. It receives the result of a login that someone else performed, and it has to decide what to do with it.

#Which route connects a PHP application?

Logius states plainly that an organisation that wants customers to log in with eHerkenning must engage an eHerkenning broker. The Logius page lists seven steps:

  1. Map which services you want to offer online.
  2. Decide per service which assurance level is required.
  3. Request quotes from the brokers.
  4. Contract a broker.
  5. Connect technically to eHerkenning.
  6. Test the connection.
  7. Put the services live and tell your customers.

According to eherkenning.nl, five brokers are currently recognised by the national government, and more than 600 service providers are connected, among them UWV, the Tax Administration, RDW, municipalities, pension funds and insurers.

The same page states what a service provider needs: a PKIoverheid server certificate and an SSL certificate. Existing certificates can be used. Digikoppeling is not needed, but the technical conditions differ per broker. It adds that your CRM or website supplier usually knows the technical points that come with connecting, and can help draft questions for the broker. That is the part where a PHP developer is useful: reading a broker’s technical documentation and turning it into a work plan before a contract is signed.

Prices vary per broker. The page says a service provider pays in principle for the connection and an annual subscription, and should add the cost of functional management of its own application. I leave out figures, since they come from the brokers’ quotes.

#Which assurance level should the portal ask for?

eherkenning.nl lists three levels and their eIDAS equivalents:

eHerkenningeIDASLogin method
EH2+lowtwo-factor: username and password plus an SMS code or a token PIN
EH3substantialtwo-factor, with a token or an app with a QR code
EH4highPKI certificate

The service provider decides the level per service. The page says higher levels have more checks when the means is issued, and that identity and authority are verified through the Chamber of Commerce (KVK) registration. It also says EH3 is the most used level and can be seen as the standard. A user with a higher-level means can log in at services that ask for a lower level, and still needs a mandate for each service.

For the PHP code this means the level is a property of the route, not of the whole site. A quote form can accept EH2+, and an invoice archive can demand EH3. The service provider page advises a risk analysis: what type of service, which legal requirements apply, what kind of personal data is exchanged, what damage misuse would cause. A level that is too low risks fraud, and one that is too high needlessly limits use.

A sketch of the check in application code:

<?php
declare(strict_types=1);

enum AssuranceLevel: int
{
    case Eh2Plus = 2;
    case Eh3 = 3;
    case Eh4 = 4;

    public function satisfies(self $required): bool
    {
        return $this->value >= $required->value;
    }
}

function requireLevel(AssuranceLevel $granted, AssuranceLevel $required): void
{
    if (!$granted->satisfies($required)) {
        http_response_code(403);
        exit('A higher assurance level is required for this page.');
    }
}

Which value reaches your code, and in which field, is defined by the broker’s interface. The enum is only the place where your own rules live.

#How do mandates change the PHP data model?

A person who uses eHerkenning for an organisation needs a mandate (machtiging). The official page states that without a mandate eHerkenning does not work. A mandate is personal and records for which services a person may log in on behalf of the organisation. Two kinds exist: a person on behalf of a company, and an intermediary organisation on behalf of a company, called a chain mandate (ketenmachtiging).

Who can issue one is also stated. Only an authorised signatory (tekenbevoegd), as registered in the KVK Handelsregister, may issue a mandate. An authorised signatory can appoint a mandate administrator, who then requests and changes mandates for all people in the organisation, through an online form or through a management module that suppliers offer.

For a PHP application three design decisions follow:

  • Do not model a user as a person with a password. Model an acting party: a person, acting for an organisation, possibly through an intermediary, at a given level, for a given service.
  • Check the mandate for the service that is being opened. A successful login proves who the person is. The mandate says what they may do for the organisation.
  • Keep chain mandates in mind early. An accountant or an outsourcing company logs in on behalf of many customers. If your customer table assumes one person per company, this will hurt later.

The release notes on eherkenning.nl show how the interface evolves. Release 1.13 let a service provider register several portals under one ServiceProviderID (OIN), described through the service catalogue entry IsPortal, and the notes list attributes such as an intermediary’s entity identifier. The notes say service changes must follow the form described in the scheme. Features are tied to interface versions, and your broker tells you which release your connection uses. A PHP developer should ask for the version in writing, since it decides which attributes arrive.

#What does a PHP session look like after the login?

The broker’s documentation decides the protocol details, and I do not paraphrase them from memory here. What your code owns is the step after the handover:

  1. Validate what the broker’s library or interface reports, and reject the login on any failure.
  2. Regenerate the PHP session identifier on success, with session_regenerate_id(true), so a pre-login identifier cannot be reused.
  3. Store the acting party and level in the session, not the raw message you received.
  4. Check the mandate per service at the moment of access.
  5. Record the login and logout events for the audit trail you agreed with your adviser.
  6. Test the logout path. A portal that ends its own session but leaves the broker session open surprises users on shared computers.

Plan test cases with the broker early. Step six of the Logius list is testing, and a test needs accounts at every level you plan to require, plus a mandate for each service, plus an intermediary case if your customers use accountants.

#Do I have to accept European business logins?

Only if you are a service provider with a public task. Eherkenning.nl says the eIDAS obligations have applied since 29 September 2018, and that such providers must accept European recognised means. It names municipalities, provinces, water boards, ministries, implementing organisations, academic hospitals, health insurers, universities and pension funds as examples. If a provider lets Dutch users in at substantial or high level, European users must be let in with a recognised means as well. The user’s level decides, not the service’s level.

Enabling eIDAS needs at least version 1.11 of the eHerkenning interface, and the same interface is used to accept eHerkenning, so one connection serves both. These pages name no such duty for a private-sector portal. Whether your organisation has a public task is a legal question.

#What I could not confirm

  • The protocol and message format of the interface. The pages I read describe the roles and the versions, and the technical specification is part of the scheme documents and the broker’s material.
  • Prices and lead times. They come from brokers.
  • The broker list. eherkenning.nl keeps it, and the number of recognised brokers can change.
  • The pages on eherkenning.nl are in Dutch, and the English wording above is my translation.

#Written ownership, remote from Gdynia

I work remotely from Gdynia, in the same time zone as Amsterdam. Broker questions and answers stay in writing, so the service list is settled before the first contract. At handover you keep the repository, the session and mandate code, and the notes for the next person who talks to the broker.

If your Amsterdam organisation plans a PHP portal with eHerkenning, send the list of services and who should reach each one through the contact page. The first written estimate is free and starts from your service list. The PHP developer page covers the rest of the PHP scope.

See also in Netherlands

Need this service: PHP developer in Amsterdam?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest PHP developer articles

Dec 2, 2026

Laravel Rust: what does it mean for PHP apps?

On 1 December 2026 Taylor Otwell shipped the Laravel Rust beta, and Laravel Go followed a day later. What the framework contains, what the 18x benchmark really measures, what happens to Laravel PHP and WordPress, and when a rewrite makes sense.

Explore other WordPress services and knowledge base