PHPackages                             dafeder/dkan2 - 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. dafeder/dkan2

Abandoned → [getdkan/dkan2](/?search=getdkan%2Fdkan2)Drupal-profile[Utility &amp; Helpers](/categories/utility)

dafeder/dkan2
=============

DKAN Open Data Catalog

02

Since Aug 15Pushed 7y agoCompare

[ Source](https://github.com/dafeder/dkan2)[ Packagist](https://packagist.org/packages/dafeder/dkan2)[ RSS](/packages/dafeder-dkan2/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (3)Used By (0)

DKAN 8.x-2.x Prototype
======================

[](#dkan-8x-2x-prototype)

DKAN Open Data Portal built on Drupal 8. See NOTES.md for additional information.

Installation
------------

[](#installation)

This is a Drupal 8 *profile*. You will need to create a new composer project in your local environment and add DKAN as a dependency. Here is an example composer.json:

```
{
    "minimum-stability": "dev",
    "description": "DKAN Test",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/getdkan/dkan2"
        },
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ],
    "require": {
        "composer/installers": "^1.2",
        "oomphinc/composer-installers-extender": "^1.1",
        "drupal-composer/drupal-scaffold": "^2.0.0",
        "drush/drush": "^9.3",
        "getdkan/dkan2": "dev-master"
    },
    "require-dev": {
      "burdamagazinorg/thunder-dev-tools": "dev-master",
      "drupal/coder": "8.2"
    },
    "extra": {
        "enable-patching": true,
        "installer-paths": {
          "docroot/core": ["type:drupal-core"],
          "docroot/libraries/{$name}": ["type:drupal-library"],
          "docroot/modules/contrib/{$name}": ["type:drupal-module"],
          "docroot/themes/contrib/{$name}": ["type:drupal-theme"],
          "docroot/profiles/{$name}": ["type:drupal-profile"],
          "drush/contrib/{$name}": ["type:drupal-drush"]
       }
    }
}
```

Create an empty folder and add a composer.json file like this one, run `composer install`, and you should have a working docroot. You can now run a normal Drupal installation using the "dkan2" profile.

By the time we do a stable release, this project will be merged into the main DKAN repository and the profile will just be called "dkan." For now, we are using "dkan2" to avoid ambiguity. See the NOTES.md for additional information on this initial phase of development.

Development Environment
-----------------------

[](#development-environment)

DKAN has the same minimum requirements as any Drupal 8 project, with one exception: it requires MySQL 5.7.

### Developing with Docksal

[](#developing-with-docksal)

We currently use [Docksal](https://docksal.io/) for local development. If you have Docksal installed locally, navigate to your project root (not your `/docroot`) and run `fin init`. Now edit your `/.docksal/docksal.yml` file and add the following lines:

```
services:
  db:
    image: docksal/db:1.2-mysql-5.7
```

You should now be able to bring up the correct containers with `fin start`. Install by running `fin drush site:install dkan2 --db-url=mysql://user:user@db/default`.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.9% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f0d92fbf723138c5371b7bea3cfd623ceffd135864015c965e4379c8bfda37b?d=identicon)[dafeder](/maintainers/dafeder)

---

Top Contributors

[![dafeder](https://avatars.githubusercontent.com/u/309671?v=4)](https://github.com/dafeder "dafeder (17 commits)")[![acouch](https://avatars.githubusercontent.com/u/512243?v=4)](https://github.com/acouch "acouch (6 commits)")

### Embed Badge

![Health badge](/badges/dafeder-dkan2/health.svg)

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

###  Alternatives

[joachim-n/case-converter

Case converter library

11383.0k3](/packages/joachim-n-case-converter)[mehrab-wj/tiktoken-php

a clone of python tiktoken but for PHP! fast BPE tokeniser for use with OpenAI's models.

1788.5k3](/packages/mehrab-wj-tiktoken-php)

PHPackages © 2026

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