Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bank Id Bundle Laravel Package

dimafe6/bank-id-bundle

View on GitHub
Deep Wiki
Context7

Bank-ID

Bundle for connect Bank-ID library to your Symfony application.

Latest Stable Version Latest Unstable Version Total Downloads License

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:

// 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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours