PHPackages                             brainsum/damopen-project - 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. brainsum/damopen-project

ActiveProject

brainsum/damopen-project
========================

Template for creating DAMopen projects with composer.

5.0.2(2y ago)43951[2 issues](https://github.com/brainsum/damopen-project/issues)GPL-2.0-or-laterPHPPHP &gt;=8.1

Since Feb 12Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/brainsum/damopen-project)[ Packagist](https://packagist.org/packages/brainsum/damopen-project)[ RSS](/packages/brainsum-damopen-project/feed)WikiDiscussions 6.0.x Synced today

READMEChangelog (3)Dependencies (1)Versions (20)Used By (0)

DAMopen - Composer template
===========================

[](#damopen---composer-template)

Composer template to kickstart Digital Assets Management projects.

This template was based on the following:

- [Drupal composer project](https://github.com/drupal-composer/drupal-project)
- [Drupal recommended project](https://www.drupal.org/docs/develop/using-composer/starting-a-site-using-drupal-composer-project-templates)
- [Thunder distro](https://github.com/thunder/thunder-project).

Structure
---------

[](#structure)

- `app`: the actual Drupal folder. This is the only folder mounted into the docker container, installing Drupal, adding dependencies, using drush, etc. should be executed from here.
    - Note, in a containerized environment this is the only folder that should be available to the image at build time.
    - Git root should still be the project root.
- `docker`: contains Dockerfiles and some helpers for building the images

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

[](#installation)

Note: These commands have been tested on linux (ubuntu), they might need changes to work on other systems.

### Native composer

[](#native-composer)

For the latest release:

```
composer create-project brainsum/damopen-project my-damopen-project
```

For a specific release:

```
composer create-project brainsum/damopen-project=2.0.x-dev my-damopen-project
```

### Composer in docker

[](#composer-in-docker)

For the latest release:

```
DAMOPEN_PROJECT_DIR=my-damopen-project; mkdir "${DAMOPEN_PROJECT_DIR}" && docker run --rm -u "$(id -u)":"$(id -g)" -w /app --mount type=bind,src="$(pwd)"/"${DAMOPEN_PROJECT_DIR}",dst=/app brainsum/damopen-php:8.3-dev-4.66.0 composer create-project brainsum/damopen-project .
```

For a specific release:

```
DAMOPEN_PROJECT_DIR=damopen; mkdir "${DAMOPEN_PROJECT_DIR}" && docker run --rm -u "$(id -u)":"$(id -g)" -w /app --mount type=bind,src="$(pwd)"/"${DAMOPEN_PROJECT_DIR}",dst=/app brainsum/damopen-php:8.3-dev-4.66.0 composer create-project brainsum/damopen-project=6.0.x-dev .
```

This creates the base structure. After the project installed, you need to enter go to the `app` folder and use `composer install`.

Note: Drupal released 9.2, but the damopen distro applies a patch that's not compatible with that version. If `composer install` fails, you can work around this by adding the following to `app/composer.json` / extra (See: `cweagans/composer-patches`) and running it again:

```
"patches": {
    "Implement a generic revision UI (Drupal 9.2)": "https://www.drupal.org/files/issues/2021-03-24/2350939-164.patch"
},
"patches-ignore": {
    "brainsum/damopen": {
        "drupal/core": {
            "Implement a generic revision UI": "https://www.drupal.org/files/issues/2021-02-04/2350939-156-9.1.x.patch"
        }
    }
},
```

Setup
-----

[](#setup)

### Environment variables

[](#environment-variables)

By default, the project depends on some environment variables. See the [settings.php](./app/web/sites/default/settings.php) as well the files in the [settings folder](./app/settings).

### (Optional) Docker-compose

[](#optional-docker-compose)

If you want to use docker-compose for development, you should update `.env` as needed (e.g. replaceing damopen with your project's name, adding the hash salt, ...).

For starting and stopping the environment you can use the helper scripts provided with the project (`startup.sh` and `shutdown.sh`). These also look for a `docker-compose.local.yml` file so you can version control a generic config file and do local overrides (e.g ports, mounts).

### Drush

[](#drush)

Copy `app/drush/example.drush.yml` as `app/drush/drush.yml` and update its contents as required.

### Filesystem permission fixes

[](#filesystem-permission-fixes)

E.g. on linux, you must fix file and directory permissions as well, e.g for "private\_files", "web/sites/default/files", "tmp", ...

### Additional settings files

[](#additional-settings-files)

`app/settings/example` contains multiple pre-defined settings files. Copy `settings.local.php` to `settings` to bootstrap your local settings, `web/sites/default/settings.php` automatically includes it, if present. This helps avoid issues with file permissions for the main `settings.php`.

### Install

[](#install)

Use `drush site-install --account-pass=somestrongpass --site-mail=mail@currentsite.com --site-name=DAMopen damopen -y`

You also might want to add `--account-name` and `--account-mail`.

Usage
-----

[](#usage)

### Main site

[](#main-site)

Upload your assets and that's it. You can download them, images can be styled for social media purposes, logo can be added, etc.

### API

[](#api)

The JSON:API module has been enabled, so you can serve your assets through that. An example would be using the [FileField Sources JSON API ](https://www.drupal.org/project/filefield_sources_jsonapi) module that allows you to configure file fields to allow downloading files from DAMopen directly via the API.

Development
-----------

[](#development)

For development info see the [DEVELOPMENT.md](./DEVELOPMENT.md) file.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance49

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

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

Every ~102 days

Recently: every ~178 days

Total

19

Last Release

78d ago

Major Versions

3.0.1 → 4.0.02023-02-16

4.0.x-dev → 5.0.02024-01-16

3.0.x-dev → 5.0.12024-03-07

5.0.x-dev → 6.0.x-dev2025-03-18

6.0.x-dev → 7.0.x-dev2026-02-19

PHP version history (5 changes)0.1.0PHP ^7.2

2.0.0-alpha1PHP ^7.3

4.0.0PHP &gt;=7.3

4.0.2PHP &gt;=8.1

7.0.x-devPHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15192295?v=4)[Máté Havelant](/maintainers/mhavelant)[@mhavelant](https://github.com/mhavelant)

![](https://avatars.githubusercontent.com/u/9446343?v=4)[szatom](/maintainers/szatom)[@szatom](https://github.com/szatom)

---

Top Contributors

[![dj1999](https://avatars.githubusercontent.com/u/16994729?v=4)](https://github.com/dj1999 "dj1999 (32 commits)")[![mhavelant](https://avatars.githubusercontent.com/u/15192295?v=4)](https://github.com/mhavelant "mhavelant (7 commits)")[![pedro-p](https://avatars.githubusercontent.com/u/4059784?v=4)](https://github.com/pedro-p "pedro-p (3 commits)")[![szatom](https://avatars.githubusercontent.com/u/9446343?v=4)](https://github.com/szatom "szatom (2 commits)")[![l-besenyei](https://avatars.githubusercontent.com/u/35835733?v=4)](https://github.com/l-besenyei "l-besenyei (2 commits)")[![keeteean](https://avatars.githubusercontent.com/u/3899286?v=4)](https://github.com/keeteean "keeteean (2 commits)")[![adam-herczeg](https://avatars.githubusercontent.com/u/33317291?v=4)](https://github.com/adam-herczeg "adam-herczeg (2 commits)")

### Embed Badge

![Health badge](/badges/brainsum-damopen-project/health.svg)

```
[![Health](https://phpackages.com/badges/brainsum-damopen-project/health.svg)](https://phpackages.com/packages/brainsum-damopen-project)
```

###  Alternatives

[drupal/recommended-project

Project template for Drupal projects with a relocated document root

1502.6M1](/packages/drupal-recommended-project)[vardot/varbase-project

Project template for Varbase distribution.

5362.2k](/packages/vardot-varbase-project)[centarro/commerce-kickstart-project

Centarro Commerce Kickstart 5.x project template

3116.2k](/packages/centarro-commerce-kickstart-project)[apigee/devportal-kickstart-project

Composer project template for the Apigee Developer Portal Drupal distribution.

1124.7k](/packages/apigee-devportal-kickstart-project)[fourkitchens/sous-drupal-project

Starter project for Sous a Drupal distribution featuring a theme based on Emulsify Design System.

151.0k](/packages/fourkitchens-sous-drupal-project)[docomoinnovations/cloud_orchestrator

Cloud orchestrator distribution by DOCOMO Innovations, Inc.

108.4k](/packages/docomoinnovations-cloud-orchestrator)

PHPackages © 2026

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