PHPackages                             snijder/bunq-api-client - 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. snijder/bunq-api-client

ActiveLibrary[API Development](/categories/api)

snijder/bunq-api-client
=======================

Bunq API Client

10334[2 PRs](https://github.com/DennisSnijder/bunq-api-client/pulls)PHP

Since Mar 25Pushed 8y ago7 watchersCompare

[ Source](https://github.com/DennisSnijder/bunq-api-client)[ Packagist](https://packagist.org/packages/snijder/bunq-api-client)[ RSS](/packages/snijder-bunq-api-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bunq API Client
===============

[](#bunq-api-client)

[![Build status](https://camo.githubusercontent.com/6b09ddf5e9d122d7162d46a474bd57afb1a69d52385af033222adb41ef10879c/68747470733a2f2f6170692e7472617669732d63692e6f72672f44656e6e6973536e696a6465722f62756e712d6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/DennisSnijder/bunq-api-client)

Description
-----------

[](#description)

A PHP Client Library for accessing Bunq's API.

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

[](#installation)

```
$ composer require snijder/bunq-api-client

```

Usage
-----

[](#usage)

```
$keyPair = new \Snijder\Bunq\Model\KeyPair($apiKey, $publicKey, $privateKey);
$bunqClient = new \Snijder\Bunq\BunqClient($keyPair);

$userResource = new \Snijder\Bunq\Resource\UserResource($BunqClient);
$userResource->listUsers(); //list all available users.
```

Token Storage
-------------

[](#token-storage)

This Bunq API client automatically handles the installation by itself. By default the tokens are being store in the "PHP temporary folder".

You can use the `TokenStorageInterface` to overwrite the default file system storage.

```
$bunqClient->setInstallationTokenStorage($myInstallationTokenStorage);
$bunqClient->setSessionTokenStorage($mySessionTokenStorage);
```

or use the default token file storage.

```
$bunqClient->setSessionTokenStorage(
    new \Snijder\Bunq\Storage\SessionTokenFileStorage($path)
);

$bunqClient->setInstallationTokenStorage(
    new \Snijder\Bunq\Storage\InstallationTokenFileStorage($path)
);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

---

Top Contributors

[![DennisSnijder](https://avatars.githubusercontent.com/u/6953846?v=4)](https://github.com/DennisSnijder "DennisSnijder (19 commits)")

---

Tags

apibunqphp

### Embed Badge

![Health badge](/badges/snijder-bunq-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/snijder-bunq-api-client/health.svg)](https://phpackages.com/packages/snijder-bunq-api-client)
```

###  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)
