Skip to content

Maintainers & Development#

Maintainers#

Current maintainers:

Supporting organizations:

The BankID Drupal module was originally developed by Thomas Alsén and sponsored by Happiness.


Local Development with DDEV#

This project uses DDEV configured with the official ddev-drupal-contrib addon for local development, testing, and continuous integration.

Quick Start#

  1. Clone the repository:

    1
    2
    git clone https://git.drupalcode.org/project/bankid.git
    cd bankid
    

  2. Start DDEV:

    1
    ddev start
    

  3. Install dependencies:

    1
    ddev composer install
    
    The ddev-drupal-contrib addon automatically installs Drupal core, sets up developer tools, and symlinks the repository into web/modules/custom/bankid.

Development Commands#

Inside the project directory, use the following DDEV commands:

  • Run unit tests:

    1
    2
    ddev phpunit tests/
    ddev phpunit modules/bankid_login/tests/
    

  • Run PHP CodeSniffer (Drupal & DrupalPractice standards):

    1
    ddev phpcs
    

  • Automatically fix coding standards violations:

    1
    ddev phpcbf
    

  • Run static analysis with PHPStan:

    1
    ddev phpstan
    

  • Generate API documentation with Doctum:

    1
    ddev doctum
    

  • Build documentation with MkDocs:

    1
    2
    3
    ddev mkdocs build
    # Or serve live with reload:
    ddev mkdocs serve