PHPackages                             os2web/os2web\_borgerdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. os2web/os2web\_borgerdk

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

os2web/os2web\_borgerdk
=======================

Imports content from Borger.dk.

8.x-dev(4y ago)01.6kEUPL-1.2PHP

Since Jul 3Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/OS2web/os2web_borgerdk)[ Packagist](https://packagist.org/packages/os2web/os2web_borgerdk)[ RSS](/packages/os2web-os2web-borgerdk/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

OS2Web Borger.dk Drupal module
==============================

[](#os2web-borgerdk-drupal-module)

Module purpose
--------------

[](#module-purpose)

The aim of this module is to provide integration with Borger.dk Content (), and expose this content to be used in Drupal.

How does it work
----------------

[](#how-does-it-work)

Borger.dk content is being imported from Borger.dk SOAP webservice using an unofficial PHP Borger.dk library ().

Since the library is not compatible with Drupal 8 and also misses important functionality (like importing the English language articles), it is substituted with a fork () during install process.

Synchronization is handled via Migrate API, which is part of the Drupal 8 core functionality.

After the content is being imported, it can be references from any fieldable entity by using field of type **os2web\_borgerdk\_article\_reference**, which is provided by this module.

The Migrate API will also take care of updating the changed Borger.dk content, as well as deleting the obsolete Borger.dk content (the content that is present in the installation but is no longer present in Borger.dk). Before deleting the obsolete content, a notify email will be sent to the email provided in the Borger.dk settings page `admin/config/content/os2web-borgerdk`.

Additional settings
-------------------

[](#additional-settings)

Settings are available under `admin/config/content/os2web-borgerdk`

- **Fetch content for selected municipality** - Specify a municipality if the imported content needs to be municipality specific. That will be an option passed to Borger.dk SOAP webservice.
- **Send notification about obsolete Borger.dk articles** - Enable the obsolete articles notify email.
- **Recipient(s) of the email** - CSV list of the recipient of the notification email.
- **Email subject** - Subject of the email.
- **Email body** - Body of the email.

Install
-------

[](#install)

Module is available to download via composer.

```
composer require os2web/os2web_borgerdk
drush en os2web_borgerdk

```

Update
------

[](#update)

Updating process for OS2Web Borger.dk module is similar to usual Drupal 8 module. Use Composer's built-in command for listing packages that have updates available:

```
composer outdated os2web/os2web_borgerdk

```

Import process
--------------

[](#import-process)

The import process can be done in two ways:

- Via Drush (recommended)

    - Use the following Drush command to start the migration: ```
        drush migrate:import os2web_borgerdk_articles_import

        ```

        Read more about the Drush commands for Migrate API on [Migrate tools](https://www.drupal.org/project/migrate_tool).
    - It is highly recommended to set up a cronjob on your server to do the run this command often
- Via Admin UI

    - Go to `admin/structure/migrate/manage/os2web_borgerdk/migrations` on your installation
    - Click `Execute`
    - Click `Execute` on the next page as well (doing that will use default options).

Module translation
------------------

[](#module-translation)

Module's main language is English but Danish language is fully supported.

When extending this module add your translations to the corresponding **\*.po** files located `modules/contrib/os2web_borgerdk/translations/` and run the following to update translations:

```
drush locale-check
drush locale-update && drush cr

```

Automated testing and code quality
----------------------------------

[](#automated-testing-and-code-quality)

See [OS2Web testing and CI information](https://github.com/OS2Web/docs#testing-and-ci)

Contribution
------------

[](#contribution)

Project is opened for new features and os course bugfixes. If you have any suggestion or you found a bug in project, you are very welcome to create an issue in github repository issue tracker. For issue description there is expected that you will provide clear and sufficient information about your feature request or bug report.

### Code review policy

[](#code-review-policy)

See [OS2Web code review policy](https://github.com/OS2Web/docs#code-review)

### Git name convention

[](#git-name-convention)

See [OS2Web git name convention](https://github.com/OS2Web/docs#git-guideline)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance55

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1675d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/827308?v=4)[Jørn Skifter Andersen](/maintainers/skifter)[@skifter](https://github.com/skifter)

![](https://www.gravatar.com/avatar/62f8489b69aecc84322f8899d288c3ab41d3022532d49c849ae4ca10e20f4df7?d=identicon)[andriyun](/maintainers/andriyun)

![](https://www.gravatar.com/avatar/134c42b216718e3d28298bcec8772eeb309c8c94afff3462dac1245b06c06cc5?d=identicon)[stanbellcom](/maintainers/stanbellcom)

---

Top Contributors

[![stankut](https://avatars.githubusercontent.com/u/1537807?v=4)](https://github.com/stankut "stankut (44 commits)")[![andriyun](https://avatars.githubusercontent.com/u/5544994?v=4)](https://github.com/andriyun "andriyun (4 commits)")

### Embed Badge

![Health badge](/badges/os2web-os2web-borgerdk/health.svg)

```
[![Health](https://phpackages.com/badges/os2web-os2web-borgerdk/health.svg)](https://phpackages.com/packages/os2web-os2web-borgerdk)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)[drupalwxt/wxt

Project template for Drupal 10 sites built with the WxT distribution.

29159.8k8](/packages/drupalwxt-wxt)[droptica/droopler

Droopler - SEO Friendly CMS &amp; Site Builder - is a Drupal-based website builder that helps you create beautiful, fast, and easy-to-manage websites

6543.1k1](/packages/droptica-droopler)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
