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#
-
Clone the repository:
1 2
git clone https://git.drupalcode.org/project/bankid.git cd bankid -
Start DDEV:
1ddev start -
Install dependencies:
The1ddev composer installddev-drupal-contribaddon automatically installs Drupal core, sets up developer tools, and symlinks the repository intoweb/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):
1ddev phpcs -
Automatically fix coding standards violations:
1ddev phpcbf -
Run static analysis with PHPStan:
1ddev phpstan -
Generate API documentation with Doctum:
1ddev doctum -
Build documentation with MkDocs:
1 2 3
ddev mkdocs build # Or serve live with reload: ddev mkdocs serve