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

ActiveLibrary[API Development](/categories/api)

officegest/nordigen-php
=======================

Nordigen official API client for PHP

02.8k↓44.2%PHP

Since Jun 25Pushed 1y agoCompare

[ Source](https://github.com/Officegest/nordigen-php)[ Packagist](https://packagist.org/packages/officegest/nordigen-php)[ RSS](/packages/officegest-nordigen-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#nordigen-php-library)

### ⚠️ Notice

[](#️-notice)

Please be advised that the Bank Account Data libraries are no longer actively updated or maintained. While these libraries may still function, GoCardless will not provide further updates, bug fixes, or support for them.

This is official PHP client library for [GoCardless Bank Account Data](https://gocardless.com/bank-account-data/).

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;= 7.4

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

[](#installation)

Install library via composer:

```
composer require nordigen/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 endpoin 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

22

—

LowBetter than 21% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/92090601?v=4)[Officegest](/maintainers/officegest)[@Officegest](https://github.com/Officegest)

---

Top Contributors

[![victory-sokolov](https://avatars.githubusercontent.com/u/11943459?v=4)](https://github.com/victory-sokolov "victory-sokolov (14 commits)")[![QuakyCZ](https://avatars.githubusercontent.com/u/47119570?v=4)](https://github.com/QuakyCZ "QuakyCZ (5 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 (4 commits)")[![johnyfernandes](https://avatars.githubusercontent.com/u/116026287?v=4)](https://github.com/johnyfernandes "johnyfernandes (2 commits)")[![Volsund](https://avatars.githubusercontent.com/u/38664119?v=4)](https://github.com/Volsund "Volsund (1 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)")[![safriks](https://avatars.githubusercontent.com/u/49246419?v=4)](https://github.com/safriks "safriks (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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