PHPackages                             pkj/sbanken-bundle - 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. pkj/sbanken-bundle

ActiveLibrary[API Development](/categories/api)

pkj/sbanken-bundle
==================

1.0.0(8y ago)05PHP

Since Jan 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/peec/sbanken-bundle)[ Packagist](https://packagist.org/packages/pkj/sbanken-bundle)[ RSS](/packages/pkj-sbanken-bundle/feed)WikiDiscussions master Synced today

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

PkjSbankenBundle for Symfony
============================

[](#pkjsbankenbundle-for-symfony)

Create symfony based php apps with integration to Sbanken.

Uses  library. See that for docs of usage.

Install
=======

[](#install)

Add to parameters.yml.dist:

```
parameters:
    #.......
    sbanken_client_id: ~
    sbanken_client_secret: ~
    sbanken_customer_id: ~
```

Add to config.yml:

```
pkj_sbanken:
    client_id: '%sbanken_client_id%'
    client_secret: '%sbanken_client_secret%'
    customer_id: '%sbanken_customer_id%'
```

Add to AppKernel.php:

```
    new Pkj\Bundle\SbankenBundle\PkjSbankenBundle()
```

Run composer require

```
composer require pkj/sbanken-bundle:^1.0

```

You will be asked to fill in client\_id, client\_secret and customer\_id. Get these from sbanken website. (customer\_id is your person number).

Usage
=====

[](#usage)

This bundle exposes a new service `pkj_sbanken.client` which you have access to getApi().

```
// Example, this can be run from controllers:

$bankAccountNumber = 11111111111;
$transactionRequest = new TransactionListRequest($bankAccountNumber);

$api = $transactions = $this->get('pkj_sbanken.client')->getApi();
$api->authorize();
$transactions = $api->Transactions()->getList($transactionRequest);
var_dump($transactions);
exit;

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88b748fa2f0dcacab307a6305e98032de7adb93f955bbaf3c6fe029a7369ac84?d=identicon)[peec](/maintainers/peec)

---

Top Contributors

[![peec](https://avatars.githubusercontent.com/u/131546?v=4)](https://github.com/peec "peec (2 commits)")

### Embed Badge

![Health badge](/badges/pkj-sbanken-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pkj-sbanken-bundle/health.svg)](https://phpackages.com/packages/pkj-sbanken-bundle)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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