2017 © Pedro Peláez
 

symfony-bundle bank-id-bundle

Symfony bundle for Swedish BankID library

image

dimafe6/bank-id-bundle

Symfony bundle for Swedish BankID library

  • Monday, November 13, 2017
  • by dimafe6
  • Repository
  • 2 Watchers
  • 0 Stars
  • 70 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

Bank-ID

Bundle for connect Bank-ID library to your Symfony application., (*1)

Latest Stable Version Latest Unstable Version Total Downloads License, (*2)

Requirements

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

Installation

Get the bundle using composer

composer require dimafe6/bank-id-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:, (*3)

// app/AppKernel.php

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

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

        // ...
    }
}

Configure the bundle

# app/config/config.yml
bank_id:
    wsdl_url: 'https://appapi2.test.bankid.com/rp/v4?wsdl'
    ssl: false
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: <your-user-agent>'

Usage

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

License

The MIT License (MIT). Please see License File for more information., (*4)

The Versions

13/11 2017

dev-master

9999999-dev https://github.com/dimafe6/BankIDBundle

Symfony bundle for Swedish BankID library

  Sources   Download

MIT

The Requires

 

by Dmytro Feshchenko

symfony dimafe6 bank-id bank-id-bundle

13/11 2017

dev-dev

dev-dev https://github.com/dimafe6/BankIDBundle

Symfony bundle for Swedish BankID library

  Sources   Download

MIT

The Requires

 

by Dmytro Feshchenko

symfony dimafe6 bank-id bank-id-bundle

13/11 2017

1.0.1

1.0.1.0 https://github.com/dimafe6/BankIDBundle

Symfony bundle for Swedish BankID library

  Sources   Download

MIT

The Requires

 

by Dmytro Feshchenko

symfony dimafe6 bank-id bank-id-bundle

13/11 2017

1.0.0

1.0.0.0 https://github.com/dimafe6/BankIDBundle

Symfony bundle for Swedish BankID library

  Sources   Download

MIT

The Requires

 

by Dmytro Feshchenko

symfony dimafe6 bank-id bank-id-bundle