PHPackages                             helixdigital-io/nordigen-php - 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. helixdigital-io/nordigen-php

AbandonedArchivedLibrary[API Development](/categories/api)

helixdigital-io/nordigen-php
============================

Nordigen unofficial API client for PHP

2.0.2(2y ago)16.6k↑50%1MITPHPPHP ^8.2

Since Apr 5Pushed 2y ago2 watchersCompare

[ Source](https://github.com/helixdigital-io/nordigen-php)[ Packagist](https://packagist.org/packages/helixdigital-io/nordigen-php)[ Docs](https://nordigen.com)[ RSS](/packages/helixdigital-io-nordigen-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (9)Used By (0)

Nordigen PHP Library
====================

[](#nordigen-php-library)

This is an unofficial PHP client library for [GoCardless Bank Account Data](https://gocardless.com/bank-account-data/). This fork requires at least PHP 8.2.

For a full list of endpoints and arguments, see the [docs](https://developer.gocardless.com/bank-account-data/quick-start-guide).

Before starting to use API you will need to create a new secret and get your `SECRET_ID` and `SECRET_KEY` from the [Nordigen's Open Banking Portal](https://bankaccountdata.gocardless.com/user-secrets/).

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2

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

[](#installation)

Install library via composer:

```
composer require helixdigital-io/nordigen-php
```

Example application
-------------------

[](#example-application)

Laravel example application can be found in `example` directory

Quickstart
----------

[](#quickstart)

To use the library, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

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

```
// Get secretId and secretKey from bankaccoutndata.gocardless.com portal and pass them to NordigenClient
$secretId  = "YOUR_SECRET_ID";
$secretKey = "YOUR_SECRET_KEY";

$client = new \Nordigen\NordigenPHP\API\NordigenClient($secretId, $secretKey);

// Generate new access token. Token is valid for 24 hours
// Token is automatically injected into every response
$token = $client->createAccessToken();

// Get access token
$accessToken = $client->getAccessToken();
// Get refresh token
$refreshToken = $client->getRefreshToken();

// Exchange refresh token for new access token
$newToken = $client->refreshAccessToken($refreshToken);

// Get list of institutions by country. Country should be in ISO 3166 standard.
$institutions = $client->institution->getInstitutionsByCountry("LV");

// Institution id can be gathered from getInstitutions response.
// Example Revolut ID
$institutionId = "REVOLUT_REVOGB21";
$redirectUri = "https://nordigen.com";

// Initialize new bank connection session
$session = $client->initSession($institutionId, $redirectUri);

// Get link to authorize in the bank
// Authorize with your bank via this link, to gain access to account data
$link = $session["link"];
// requisition id is needed to get accountId in the next step
$requisitionId = $session["requisition_id"];
```

After successful authorization with a bank you can fetch your data (details, balances, transactions)

Fetching account metadata, balances, details and transactions
-------------------------------------------------------------

[](#fetching-account-metadata-balances-details-and-transactions)

```
// Get account id after completed authorization with a bank
$requisitionData = $client->requisition->getRequisition($requisitionId);
// Get account id from the array of accounts
$accountId = $requisitionData["accounts"][0];

// Instantiate account object
$account = $client->account($accountId);

// Fetch account metadata
$metadata = $account->getAccountMetaData();
// Fetch account balances
$balances = $account->getAccountBalances();
// Fetch account details
$details = $account->getAccountDetails();
// Fetch account transactions
$transactions = $account->getAccountTransactions();

// Optional. You can filter transactions by specific date range
$transactions = $account->getAccountTransactions("2021-12-01", "2022-01-30");

// Get premium transactions
// Optional parameters country, dateFrom, dateTo
$premiumTransactions = $account->getPremiumAccountTransactions();
```

In order to use Premium endpoint please contact our [bank-account-data-support@gocardless.com](bank-account-data-support@gocardless.com)

Tests
-----

[](#tests)

```
./vendor/bin/phpunit
```

Support
-------

[](#support)

For any inquiries please contact support at [bank-account-data-support@gocardless.com](bank-account-data-support@gocardless.com) or create an issue in the repository.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~106 days

Total

8

Last Release

819d ago

Major Versions

1.1.1 → 2.0.02023-08-08

PHP version history (2 changes)1.0.0PHP &gt;=7.4

2.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![xHeaven](https://avatars.githubusercontent.com/u/14284867?v=4)](https://github.com/xHeaven "xHeaven (18 commits)")[![victory-sokolov](https://avatars.githubusercontent.com/u/11943459?v=4)](https://github.com/victory-sokolov "victory-sokolov (13 commits)")[![MikolajKaminski](https://avatars.githubusercontent.com/u/24697099?v=4)](https://github.com/MikolajKaminski "MikolajKaminski (5 commits)")[![ekatvars-gc](https://avatars.githubusercontent.com/u/137259456?v=4)](https://github.com/ekatvars-gc "ekatvars-gc (2 commits)")[![aled2305](https://avatars.githubusercontent.com/u/7943772?v=4)](https://github.com/aled2305 "aled2305 (1 commits)")[![zhavoronkov](https://avatars.githubusercontent.com/u/8795787?v=4)](https://github.com/zhavoronkov "zhavoronkov (1 commits)")[![CihanSenturk](https://avatars.githubusercontent.com/u/53110792?v=4)](https://github.com/CihanSenturk "CihanSenturk (1 commits)")[![lanort](https://avatars.githubusercontent.com/u/57423?v=4)](https://github.com/lanort "lanort (1 commits)")[![pierrebnjl](https://avatars.githubusercontent.com/u/31212283?v=4)](https://github.com/pierrebnjl "pierrebnjl (1 commits)")

---

Tags

apipsd2Open Bankingnordigen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/helixdigital-io-nordigen-php/health.svg)

```
[![Health](https://phpackages.com/badges/helixdigital-io-nordigen-php/health.svg)](https://phpackages.com/packages/helixdigital-io-nordigen-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[nordigen/nordigen-php

Nordigen official API client for PHP

42336.9k3](/packages/nordigen-nordigen-php)[bunq/sdk_php

bunq PHP SDK

89222.7k2](/packages/bunq-sdk-php)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

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