PHPackages                             openeuropa/oe\_contact\_forms - 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. openeuropa/oe\_contact\_forms

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

openeuropa/oe\_contact\_forms
=============================

OpenEuropa Contact Forms module.

1.24.0(4mo ago)091.9k↓26.3%[1 PRs](https://github.com/openeuropa/oe_contact_forms/pulls)3EUPL-1.2PHPPHP &gt;=8.3CI failing

Since Aug 6Pushed 2mo ago20 watchersCompare

[ Source](https://github.com/openeuropa/oe_contact_forms)[ Packagist](https://packagist.org/packages/openeuropa/oe_contact_forms)[ RSS](/packages/openeuropa-oe-contact-forms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (54)Used By (3)

OpenEuropa Contact Forms
========================

[](#openeuropa-contact-forms)

This is a Drupal module that is an extension to drupal core contact forms and defines the European Commission corporate forms.

The OpenEuropa Contact Forms project provides storage for Contact messages in the form of fully-fledged entities using Contact Storage. This messages can then be automatically exported for each available Contact form.

Usage
-----

[](#usage)

Corporate contact form behaviour can be enabled on the contact form add/edit page, allowing form fields, confirmation message and email values to be defined.

Permissions
-----------

[](#permissions)

Granular permissions are exposed via contributed modules for handling contact forms and contact message entities:

- View contact messages
- Update contact messages
- Delete contact messages
- Export contact form messages

Development setup
-----------------

[](#development-setup)

### Requirements

[](#requirements)

- [Virtuoso 7 (Triplestore database)](https://github.com/openlink/virtuoso-opensource)
- [Docker](https://www.docker.com/get-docker)
- [Docker Compose](https://docs.docker.com/compose/)

You can build the development site by running the following steps:

- Install Virtuoso. The easiest way to do this is by using the [Triple store](https://git.fpfis.tech.ec.europa.eu/fpfis/triple-store) Docker container which also pre-imports the main Europa vocabularies.
- Install the Composer dependencies:

```
composer install
```

A post command hook (`drupal:site-setup`) is triggered automatically after `composer install`. This will symlink the module in the proper directory within the test site and perform token substitution in test configuration files such as `behat.yml.dist`.

**Please note:** project files and directories are symlinked within the test site by using the [OpenEuropa Task Runner's Drupal project symlink](https://github.com/openeuropa/task-runner-drupal-project-symlink) command.

If you add a new file or directory in the root of the project, you need to re-run `drupal:site-setup` in order to make sure they are be correctly symlinked.

If you don't want to re-run a full site setup for that, you can simply run:

```
$ ./vendor/bin/run drupal:symlink-project

* Install test site by running:

```bash
$ ./vendor/bin/run drupal:site-install

```

The development site web root should be available in the `build` directory.

### Using Docker Compose

[](#using-docker-compose)

Alternatively, you can build a development site using [Docker](https://www.docker.com/get-docker) and [Docker Compose](https://docs.docker.com/compose/) with the provided configuration.

Docker provides the necessary services and tools such as a web server and a database server to get the site running, regardless of your local host configuration.

#### Configuration

[](#configuration)

By default, Docker Compose reads two files, a `docker-compose.yml` and an optional `docker-compose.override.yml` file. By convention, the `docker-compose.yml` contains your base configuration and it's provided by default. The override file, as its name implies, can contain configuration overrides for existing services or entirely new services. If a service is defined in both files, Docker Compose merges the configurations.

Find more information on Docker Compose extension mechanism on [the official Docker Compose documentation](https://docs.docker.com/compose/extends/).

#### Usage

[](#usage-1)

To start, run:

```
docker-compose up
```

It's advised to not daemonize `docker-compose` so you can turn it off (`CTRL+C`) quickly when you're done working. However, if you'd like to daemonize it, you have to add the flag `-d`:

```
docker-compose up -d
```

Then:

```
docker-compose exec web composer install
docker-compose exec web ./vendor/bin/run drupal:site-install
```

Using default configuration, the development site files should be available in the `build` directory and the development site should be available at: .

#### Running the tests

[](#running-the-tests)

To run the grumphp checks:

```
docker-compose exec web ./vendor/bin/grumphp run
```

To run the phpunit tests:

```
docker-compose exec web ./vendor/bin/phpunit
```

To run the behat tests:

```
docker-compose exec web ./vendor/bin/behat
```

#### Step debugging

[](#step-debugging)

To enable step debugging from the command line, pass the `XDEBUG_SESSION` environment variable with any value to the container:

```
docker-compose exec -e XDEBUG_SESSION=1 web
```

Please note that, starting from XDebug 3, a connection error message will be outputted in the console if the variable is set but your client is not listening for debugging connections. The error message will cause false negatives for PHPUnit tests.

To initiate step debugging from the browser, set the correct cookie using a browser extension or a bookmarklet like the ones generated at .

Contributing
------------

[](#contributing)

Please read [the full documentation](https://github.com/openeuropa/openeuropa) for details on our code of conduct, and the process for submitting pull requests to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the available versions, see the [tags on this repository](https://github.com/openeuropa/oe_contact_forms/tags).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~58 days

Recently: every ~47 days

Total

35

Last Release

129d ago

Major Versions

0.6.0 → 1.0.02021-03-22

PHP version history (6 changes)0.1.0PHP &gt;=7.2

1.1.0PHP &gt;=7.3

1.2.0PHP &gt;=7.4

1.10.0PHP &gt;=8.0

1.15.0PHP &gt;=8.1

1.22.1PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3b1f4079f9a82f6dd88fe6577d1256b4ecbbccbcd4a4ec9bea7c2fd6f72b99a?d=identicon)[DIGIT-CORE](/maintainers/DIGIT-CORE)

---

Top Contributors

[![drishu](https://avatars.githubusercontent.com/u/11507647?v=4)](https://github.com/drishu "drishu (146 commits)")[![nagyad](https://avatars.githubusercontent.com/u/22004498?v=4)](https://github.com/nagyad "nagyad (66 commits)")[![imanoleguskiza](https://avatars.githubusercontent.com/u/14978592?v=4)](https://github.com/imanoleguskiza "imanoleguskiza (56 commits)")[![julien-](https://avatars.githubusercontent.com/u/7086610?v=4)](https://github.com/julien- "julien- (43 commits)")[![upchuk](https://avatars.githubusercontent.com/u/5848933?v=4)](https://github.com/upchuk "upchuk (36 commits)")[![hernani](https://avatars.githubusercontent.com/u/707860?v=4)](https://github.com/hernani "hernani (32 commits)")[![brummbar](https://avatars.githubusercontent.com/u/8488617?v=4)](https://github.com/brummbar "brummbar (30 commits)")[![22Alexandra](https://avatars.githubusercontent.com/u/22908988?v=4)](https://github.com/22Alexandra "22Alexandra (22 commits)")[![yenyasinn](https://avatars.githubusercontent.com/u/1183951?v=4)](https://github.com/yenyasinn "yenyasinn (21 commits)")[![junkuncz](https://avatars.githubusercontent.com/u/14944208?v=4)](https://github.com/junkuncz "junkuncz (16 commits)")[![sergepavle](https://avatars.githubusercontent.com/u/9432036?v=4)](https://github.com/sergepavle "sergepavle (16 commits)")[![Maxfire](https://avatars.githubusercontent.com/u/6443180?v=4)](https://github.com/Maxfire "Maxfire (11 commits)")[![msnassar](https://avatars.githubusercontent.com/u/15343499?v=4)](https://github.com/msnassar "msnassar (8 commits)")[![georgebaev](https://avatars.githubusercontent.com/u/120784?v=4)](https://github.com/georgebaev "georgebaev (6 commits)")[![Aporie](https://avatars.githubusercontent.com/u/3462591?v=4)](https://github.com/Aporie "Aporie (5 commits)")[![ademarco](https://avatars.githubusercontent.com/u/153362?v=4)](https://github.com/ademarco "ademarco (5 commits)")[![gorsky87](https://avatars.githubusercontent.com/u/21284516?v=4)](https://github.com/gorsky87 "gorsky87 (3 commits)")[![AaronGilMartinez](https://avatars.githubusercontent.com/u/7264392?v=4)](https://github.com/AaronGilMartinez "AaronGilMartinez (3 commits)")[![enriquelacoma](https://avatars.githubusercontent.com/u/5982573?v=4)](https://github.com/enriquelacoma "enriquelacoma (2 commits)")[![escuriola](https://avatars.githubusercontent.com/u/6751237?v=4)](https://github.com/escuriola "escuriola (1 commits)")

### Embed Badge

![Health badge](/badges/openeuropa-oe-contact-forms/health.svg)

```
[![Health](https://phpackages.com/badges/openeuropa-oe-contact-forms/health.svg)](https://phpackages.com/packages/openeuropa-oe-contact-forms)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.2k6.7k1](/packages/farmos-farmos)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[openeuropa/oe_content

OpenEuropa Drupal module that contains the EC corporate entity types.

13139.2k9](/packages/openeuropa-oe-content)[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)

PHPackages © 2026

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