PHPackages                             openeuropa/oe\_webtools - 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\_webtools

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

openeuropa/oe\_webtools
=======================

OpenEuropa Webtools integration.

1.46.0(1mo ago)8399.2k↓49.5%16[7 issues](https://github.com/openeuropa/oe_webtools/issues)[9 PRs](https://github.com/openeuropa/oe_webtools/pulls)4EUPL-1.2PHPPHP &gt;=8.3CI passing

Since Jun 14Pushed 1mo ago25 watchersCompare

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

READMEChangelog (10)Dependencies (68)Versions (98)Used By (4)

OpenEuropa Webtools
===================

[](#openeuropa-webtools)

[![Build Status](https://camo.githubusercontent.com/afac8398a846213285b43abad6301b6fd63a48c3e5ffebd881fa5e746e5bacdb/68747470733a2f2f64726f6e652e66706669732e65752f6170692f6261646765732f6f70656e6575726f70612f6f655f776562746f6f6c732f7374617475732e7376673f6272616e63683d6d6173746572)](https://drone.fpfis.eu/openeuropa/oe_webtools)[![Packagist](https://camo.githubusercontent.com/021684c92d5754e3092c0c191ff065b2b1d0f196902c924339de57576426f8ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e6575726f70612f6f655f776562746f6f6c732e737667)](https://packagist.org/packages/openeuropa/oe_webtools)

[Webtools](http://ec.europa.eu/ipg/services/interactive_services/index_en.htm) integration for OpenEuropa. Webtools are interactive services available to integrate in a website.

**Table of contents:**

- [Installation](#installation)
- [Development setup](#development-setup)
- [Contributing](#contributing)
- [Versioning](#versioning)

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

[](#installation)

The recommended way of installing the OpenEuropa Webtools module is via [Composer](https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies#managing-contributed).

```
composer require openeuropa/oe_webtools
```

### Enable the module

[](#enable-the-module)

In order to enable the module in your project run:

```
./vendor/bin/drush en oe_webtools
```

### Webtools configuration

[](#webtools-configuration)

To override the default js file URL for smartloader, you can add the:

```
$settings['webtools_smart_loader_js_url'] = 'https://webtools.europa.eu/load.js';

```

If you wish to use the default, you don't need to do anything, it works out of the box.

### OpenEuropa Webtools Analytics

[](#openeuropa-webtools-analytics)

The Webtools module contains a submodule that provides a service for providing analytics information. For more information on how to use and configure this module, check out the module [README](modules/oe_webtools_analytics/README.md).

### OpenEuropa Webtools Captcha

[](#openeuropa-webtools-captcha)

The Webtools module contains a submodule that integrates the webtools captcha capabilities. For more information on how to use and configure this module, check out the module [README](modules/oe_webtools_captcha/README.md).

### OpenEuropa Webtools eTrans

[](#openeuropa-webtools-etrans)

The Webtools eTrans module provides a block that will show a link to the machine translation service of the European Commission. Visitors can click this link to have the current page translated in their preferred language.

### OpenEuropa Webtools Laco Service

[](#openeuropa-webtools-laco-service)

The Webtools module contains a submodule that provides a service for retrieving information about language coverage of entity resources. For more information on how to use and test this module, check out the module [README](modules/oe_webtools_laco_service/README.md).

### OpenEuropa Webtools Laco Widget

[](#openeuropa-webtools-laco-widget)

The Webtools module contains a submodule that provides a widget which integrates with the Laco service. For more information on how to use and configure this module, check out the module [README](modules/oe_webtools_laco_widget/README.md).

### OpenEuropa Webtools Geocoding

[](#openeuropa-webtools-geocoding)

The Webtools module contains a submodule that provides a widget which integrates with the Geocoding service.

#### Requirements for Webtools Geocoding

[](#requirements-for-webtools-geocoding)

- [geocoder-php/geocoder 4.x](https://github.com/geocoder-php/Geocoder)
- [drupal/geocoder 3.x](https://www.drupal.org/project/geocoder)
- [openeuropa/webtools-geocoding-provider](https://github.com/openeuropa/webtools-geocoding-provider)

#### Webtools Geocoding Usage

[](#webtools-geocoding-usage)

If you want to use the Webtools Geocoding service, enable the submodule:

```
drush en oe_webtools_geocoding
```

### OpenEuropa Webtools Maps

[](#openeuropa-webtools-maps)

The Webtools module contains a submodule that provides a widget which integrates with the maps service.

#### Requirements for Webtools Maps

[](#requirements-for-webtools-maps)

- [drupal/geofield 1.x](https://www.drupal.org/project/geofield)

### OpenEuropa Webtools Cookie Consent

[](#openeuropa-webtools-cookie-consent)

The Webtools module contains a submodule that provides a service for providing Cookie Consent Kit. For more information on how to use and configure this module, check out the module [README](modules/oe_webtools_cookie_consent/README.md).

### OpenEuropa Webtools Media

[](#openeuropa-webtools-media)

The Webtools module contains a submodule that provides webtools widgets as supported media providers.

#### Requirements for Webtools Media

[](#requirements-for-webtools-media)

- [drupal/json\_field 1.x-rc3](https://www.drupal.org/project/json_field)

### OpenEuropa Webtools Social Share

[](#openeuropa-webtools-social-share)

The Webtools module contains a submodule that provides social sharing functionality for a site.

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

[](#development-setup)

You can build the test site by running the following steps.

- Install all the composer dependencies:

```
composer install
```

This will build a fully functional Drupal test site in the `./build` directory that can be used to develop and showcase the module's functionality.

Before setting up and installing the site make sure to customize default configuration values by copying [runner.yml.dist](runner.yml.dist)to `./runner.yml` and overriding relevant properties.

This will also:

- Symlink the theme in `./build/modules/custom/oe_webtools` so that it's available for the test site
- Setup Drush and Drupal's settings using values from `./runner.yml.dist`. This includes adding parameters for EULogin
- Setup PHPUnit and Behat configuration files using values from `./runner.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 the site:

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

Your test site will be available at `./build`.

### 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.

#### Requirements:

[](#requirements)

- [Docker](https://www.docker.com/get-docker)
- [Docker Compose](https://docs.docker.com/compose/)

#### 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)

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_webtools/tags).

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance76

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity94

Battle-tested with a long release history

 Bus Factor5

5 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 ~52 days

Total

57

Last Release

31d ago

Major Versions

0.5.0 → 1.0.02019-05-15

PHP version history (7 changes)0.1.0PHP ^7.1

1.8.0PHP &gt;=7.2

1.12.0PHP &gt;=7.3

1.15.0PHP &gt;=7.4

1.20.0PHP &gt;=8.0

1.27.0PHP &gt;=8.1

1.42.0PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/153362?v=4)[Antonio De Marco](/maintainers/ademarco)[@ademarco](https://github.com/ademarco)

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

---

Top Contributors

[![sergepavle](https://avatars.githubusercontent.com/u/9432036?v=4)](https://github.com/sergepavle "sergepavle (139 commits)")[![pfrenssen](https://avatars.githubusercontent.com/u/442924?v=4)](https://github.com/pfrenssen "pfrenssen (126 commits)")[![upchuk](https://avatars.githubusercontent.com/u/5848933?v=4)](https://github.com/upchuk "upchuk (116 commits)")[![nagyad](https://avatars.githubusercontent.com/u/22004498?v=4)](https://github.com/nagyad "nagyad (103 commits)")[![brummbar](https://avatars.githubusercontent.com/u/8488617?v=4)](https://github.com/brummbar "brummbar (88 commits)")[![imanoleguskiza](https://avatars.githubusercontent.com/u/14978592?v=4)](https://github.com/imanoleguskiza "imanoleguskiza (81 commits)")[![22Alexandra](https://avatars.githubusercontent.com/u/22908988?v=4)](https://github.com/22Alexandra "22Alexandra (67 commits)")[![msnassar](https://avatars.githubusercontent.com/u/15343499?v=4)](https://github.com/msnassar "msnassar (46 commits)")[![voidtek](https://avatars.githubusercontent.com/u/186827?v=4)](https://github.com/voidtek "voidtek (42 commits)")[![hernani](https://avatars.githubusercontent.com/u/707860?v=4)](https://github.com/hernani "hernani (31 commits)")[![drupol](https://avatars.githubusercontent.com/u/252042?v=4)](https://github.com/drupol "drupol (29 commits)")[![aritomelo](https://avatars.githubusercontent.com/u/9381722?v=4)](https://github.com/aritomelo "aritomelo (25 commits)")[![ademarco](https://avatars.githubusercontent.com/u/153362?v=4)](https://github.com/ademarco "ademarco (21 commits)")[![drishu](https://avatars.githubusercontent.com/u/11507647?v=4)](https://github.com/drishu "drishu (17 commits)")[![Aporie](https://avatars.githubusercontent.com/u/3462591?v=4)](https://github.com/Aporie "Aporie (13 commits)")[![richardcanoe](https://avatars.githubusercontent.com/u/1321598?v=4)](https://github.com/richardcanoe "richardcanoe (11 commits)")[![yenyasinn](https://avatars.githubusercontent.com/u/1183951?v=4)](https://github.com/yenyasinn "yenyasinn (9 commits)")[![claudiu-cristea](https://avatars.githubusercontent.com/u/473868?v=4)](https://github.com/claudiu-cristea "claudiu-cristea (9 commits)")[![donquixote](https://avatars.githubusercontent.com/u/150032?v=4)](https://github.com/donquixote "donquixote (5 commits)")[![piotrsmykaj](https://avatars.githubusercontent.com/u/10449853?v=4)](https://github.com/piotrsmykaj "piotrsmykaj (4 commits)")

### Embed Badge

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

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

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.1k1](/packages/farmos-farmos)[emulsify-ds/emulsify-drupal

The official Drupal theme for Emulsify, with Storybook and a Vite-based build workflow for generated child themes

96556.4k2](/packages/emulsify-ds-emulsify-drupal)[openeuropa/oe_content

OpenEuropa Drupal module that contains the EC corporate entity types.

13146.1k14](/packages/openeuropa-oe-content)

PHPackages © 2026

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