PHPackages                             paynl/sdk-idin - 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. paynl/sdk-idin

ActiveLibrary

paynl/sdk-idin
==============

SDK specifically for idin

v1.10(5y ago)01.1k↓100%2[1 PRs](https://github.com/paynl/sdk-iDIN/pulls)PHP

Since Mar 13Pushed 5y ago6 watchersCompare

[ Source](https://github.com/paynl/sdk-iDIN)[ Packagist](https://packagist.org/packages/paynl/sdk-idin)[ RSS](/packages/paynl-sdk-idin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (13)Used By (0)

PAY. PHP SDK-iDIN
=================

[](#pay-php-sdk-idin)

---

- [About](#about)
- [Installation](#installation)
- [Installation without composer](#installation-without-composer)
- [Setting up](#setting-up)
    - [1. The autoloader](#step-1-the-autoloader)
    - [2. Your API token](#step-2-your-apitoken)
- [Examples](#examples)
    - [1. getIssuers](#getissuers)
    - [2. Authenticate](#authenticate)
    - [3. Status](#status)

---

### About

[](#about)

In order to use this SDK, you'll need to have iDIN enabled for your PAY. account.

This SDK extends the standard [PAY. SDK](https://github.com/paynl/sdk), so all functions from the original SDK are also available.

### Installation

[](#installation)

This SDK uses composer.

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

For more information on how to use/install composer, please visit:

To install the PAY. PHP SDK-iDIN into your project, simply

```
$ composer require paynl/sdk-idin

```

### Installation without composer

[](#installation-without-composer)

Coming soon..

### Setting up

[](#setting-up)

To communicate with the API of PAY, you'll need to authenticate. PAY. uses a token to authenticate you. You can find your token in the PAY.admin. On the bottom of the [API Tokens](https://admin.pay.nl/company/tokens) page.

##### Step 1 the autoloader

[](#step-1-the-autoloader)

Composer generates an autoloader for your application. To be able to access the classes of the SDK, all you have to do is include the composer autoloader. The autoloader is located here: vendor/autoload.php

```
require_once('path_to/vendor/autoload.php');
```

##### Step 2 Your APItoken

[](#step-2-your-apitoken)

To let the SDK know what your API token is, you'll have to register the TokenCode (AT-code belonging to the token) and API token as follows:

```
\Paynl\Config::setTokenCode('AT-####-####');
\Paynl\Config::setApiToken('****************************************');
```

Now you're ready to make some calls

### Examples

[](#examples)

The full list of functions can be found in the [samples](https://github.com/paynl/sdk-iDIN/tree/master/samples) folder.

##### getIssuers

[](#getissuers)

Gets an array with issuers

##### Authenticate

[](#authenticate)

Starts an iDIN transaction based on issuer and merchant reference.

##### Status

[](#status)

Get the current status of an iDIN transaction possible statuses:

- Init: The request is created; no iDIN status available (yet);
- Open: Final result not yet known;
- Pending: Transaction has not yet been completed;
- Success: Positive result; the transaction is or has been executed;
- Cancelled: Negative result due to cancellation by Consumer; the transaction will not be executed;
- Expired: Negative result due to expiration of the transaction; the transaction will not be executed;
- Failure: Negative result due to other reasons; the transaction will not be executed;
- Error: Error message received from issuer;

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~9 days

Recently: every ~22 days

Total

11

Last Release

2152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3de4fdf653f1c9f2fd2fd25bb1ee8c5cfc05051f17a41759099e44fc47f6a089?d=identicon)[paynl](/maintainers/paynl)

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

---

Top Contributors

[![kevinverschoor](https://avatars.githubusercontent.com/u/61683999?v=4)](https://github.com/kevinverschoor "kevinverschoor (19 commits)")[![woutse](https://avatars.githubusercontent.com/u/6763638?v=4)](https://github.com/woutse "woutse (2 commits)")[![ssl](https://avatars.githubusercontent.com/u/25695071?v=4)](https://github.com/ssl "ssl (1 commits)")[![villhaber](https://avatars.githubusercontent.com/u/876448?v=4)](https://github.com/villhaber "villhaber (1 commits)")

### Embed Badge

![Health badge](/badges/paynl-sdk-idin/health.svg)

```
[![Health](https://phpackages.com/badges/paynl-sdk-idin/health.svg)](https://phpackages.com/packages/paynl-sdk-idin)
```

PHPackages © 2026

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