PHPackages                             dimafe6/bank-id - 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

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

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

Library for Swedish BankID

2.1.1(4y ago)3061.8k↓31.8%26[2 issues](https://github.com/dimafe6/bank-id/issues)2MITPHPPHP &gt;=7.2.0 | 8.0.\*

Since Nov 7Pushed 4y ago9 watchersCompare

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

READMEChangelog (6)Dependencies (2)Versions (6)Used By (2)

Bank-ID
=======

[](#bank-id)

Library for connect Swedish BankID to your application. This library implements BankID API V5. If your needed library for a BankID API V4 please use version 1.\*

[![codecov](https://camo.githubusercontent.com/29c1275a9d83406c0b762ccc46f7ecbe9b064398b1dba4e59eb9f74d4339b8fb/68747470733a2f2f636f6465636f762e696f2f67682f64696d616665362f62616e6b2d69642f6272616e63682f6465762f67726170682f62616467652e737667)](https://codecov.io/gh/dimafe6/bank-id)[![Latest Stable Version](https://camo.githubusercontent.com/c400039ca34d58b9adcd72be076288389c652b542cf48bf9bc6355c084410ef6/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642f762f737461626c65)](https://packagist.org/packages/dimafe6/bank-id)[![Latest Unstable Version](https://camo.githubusercontent.com/2ab24fabb61a8e446b2d1761f4fd2dba6603c254e55ac6ecf319846810d94bc2/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642f762f756e737461626c65)](https://packagist.org/packages/dimafe6/bank-id)[![Total Downloads](https://camo.githubusercontent.com/a5354339dc82a17ffc16b0d4d7d2d8e93ffcf53897c0a5f45b487991958eefa3/68747470733a2f2f706f7365722e707567782e6f72672f64696d616665362f62616e6b2d69642f646f776e6c6f616473)](https://packagist.org/packages/dimafe6/bank-id)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/aa849e17bd007c6db51e64377fbe5973030b90b93681ec17ed2e2255b4359746/68747470733a2f2f7472617669732d63692e6f72672f64696d616665362f62616e6b2d69642e7376673f6272616e63683d646576)](https://travis-ci.org/dimafe6/bank-id)

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

[](#requirements)

- PHP 7.4+
- [curl](http://php.net/manual/en/book.curl.php)

Install
-------

[](#install)

Via Composer

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

Usage
-----

[](#usage)

Either you let the user enter their personal number and pass to BankID or you only pass the order ref and receive the personal number from the response from BankID.

```
