PHPackages                             dimafe6/bank-id-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. dimafe6/bank-id-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

dimafe6/bank-id-bundle
======================

Symfony bundle for Swedish BankID library

1.0.1(8y ago)2791MITPHPPHP &gt;=5.6.0

Since Nov 13Pushed 8y ago2 watchersCompare

[ Source](https://github.com/dimafe6/BankIDBundle)[ Packagist](https://packagist.org/packages/dimafe6/bank-id-bundle)[ Docs](https://github.com/dimafe6/BankIDBundle)[ RSS](/packages/dimafe6-bank-id-bundle/feed)WikiDiscussions dev Synced 3d ago

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

Bank-ID
=======

[](#bank-id)

Bundle for connect [Bank-ID library](https://github.com/dimafe6/bank-id) to your Symfony application.

[![Latest Stable Version](https://camo.githubusercontent.com/e3799f1e1f2d9eeabf6212b1ee94cf4866fbeae822ce37657d93f2b842a7d029/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642d62756e646c652f762f737461626c65)](https://packagist.org/packages/dimafe6/bank-id-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/864d9438f2c1e2e817f4f9366e449e26095c197b882f153be9140e8397fa5230/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/dimafe6/bank-id-bundle)[![Total Downloads](https://camo.githubusercontent.com/1c9e830cc63719e74758a7ccd3cb6e491a126f52a75c0478ea9beb8cc69f69ee/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/dimafe6/bank-id-bundle)[![License](https://camo.githubusercontent.com/aa876bdea3e443aba4d9b87efa3686244963784a5eca0df35dd09a9a9c2ea307/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642d62756e646c652f6c6963656e7365)](https://packagist.org/packages/dimafe6/bank-id-bundle)

Requirements
============

[](#requirements)

- PHP 5.6+ or 7.0+
- Symfony 2.7+ or 3+

Installation
============

[](#installation)

Get the bundle using composer
-----------------------------

[](#get-the-bundle-using-composer)

```
composer require dimafe6/bank-id-bundle
```

Enable the bundle
-----------------

[](#enable-the-bundle)

To start using the bundle, register the bundle in your application's kernel class:

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    // ...

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Dimafe6\BankIDBundle\BankIDBundle(),
        );

        // ...
    }
}
```

Configure the bundle
--------------------

[](#configure-the-bundle)

```
# app/config/config.yml
bank_id:
    wsdl_url: 'https://appapi2.test.bankid.com/rp/v4?wsdl'
    ssl: false
```

###### Full bundle configuration

[](#full-bundle-configuration)

```
# app/config/config.yml
bank_id:
    wsdl_url: 'https://appapi2.test.bankid.com/rp/v4?wsdl'
    ssl: false
    local_cert: '%kernel.project_dir%/vendor/dimafe6/bank-id/tests/bankId.pem'
    soap_options:
        cache_wsdl: 'memory' #Available values: [none, disk, memory, both]
        soap_version: '1.1' #Available values: [1.1, 1.2]
        compression: true
        trace: true
        connection_timeout: 60 #In seconds
        user_agent: 'User-Agent: '
```

Usage
-----

[](#usage)

```
    // ...
    $orderRef = $container->get('dimafe6.bankid')->getAuthResponse($personalNumber)->orderRef;
    // ...
    $response = $container->get('dimafe6.bankid')->collectResponse($orderRef);
    // ...
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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

Every ~0 days

Total

2

Last Release

3105d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13642249?v=4)[Dmytro Feshchenko](/maintainers/dimafe6)[@dimafe6](https://github.com/dimafe6)

---

Top Contributors

[![dimafe6](https://avatars.githubusercontent.com/u/13642249?v=4)](https://github.com/dimafe6 "dimafe6 (13 commits)")

---

Tags

symfonydimafe6bank-idbank-id-bundle

### Embed Badge

![Health badge](/badges/dimafe6-bank-id-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dimafe6-bank-id-bundle/health.svg)](https://phpackages.com/packages/dimafe6-bank-id-bundle)
```

###  Alternatives

[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M62](/packages/scheb-2fa-bundle)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

63397.4k6](/packages/web-auth-webauthn-symfony-bundle)[dimafe6/bank-id

Library for Swedish BankID

3061.8k2](/packages/dimafe6-bank-id)

PHPackages © 2026

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