PHPackages                             pronovix/drupal-module-template - 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. pronovix/drupal-module-template

AbandonedArchivedProject

pronovix/drupal-module-template
===============================

Module template for Drupal modules.

8.x-dev(6y ago)081[2 issues](https://github.com/Pronovix/drupal-module-template/issues)PHPPHP &gt;= 7.1

Since Jul 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Pronovix/drupal-module-template)[ Packagist](https://packagist.org/packages/pronovix/drupal-module-template)[ RSS](/packages/pronovix-drupal-module-template/feed)WikiDiscussions 8.x Synced 3d ago

READMEChangelogDependencies (2)Versions (1)Used By (0)

Pronovix Drupal module template
===============================

[](#pronovix-drupal-module-template)

Start development of a new module
---------------------------------

[](#start-development-of-a-new-module)

### Building a new module with Composer

[](#building-a-new-module-with-composer)

```
$ composer create-project -s dev pronovix/drupal-module-template path/to/my_module
```

or

```
$ docker run --rm -it -v $PWD:/app --user $(id -u):$(id -g) composer create-project -s dev pronovix/drupal-module-template my_module
```

See the [composer documentation](https://getcomposer.org/doc/03-cli.md#create-project) for details.

Contributing to this template
-----------------------------

[](#contributing-to-this-template)

- Spin up the containers inside the `.dev` folder with `docker-compose up -d`.
- Open an interactive shell with `docker-compose exec php bash` and run any command that you need.

#### Test module creation from this template:

[](#test-module-creation-from-this-template)

Run this inside the `php` container:

```
$ COMPOSER_MIRROR_PATH_REPOS=1 composer create-project --repository='{"type": "path", "url": "/mnt/files/drupal_module"}' -s dev pronovix/drupal-module-template /path/in/container/my_module
```

Alternatively, you can use the official Composer image for the same, just run this command in the root of the template:

```
$  docker run --rm -it -v $PWD:/app -v /tmp:/tmp --user $(id -u):$(id -g) -e COMPOSER_MIRROR_PATH_REPOS=1 composer:1.7 create-project --repository='{"type": "path", "url": "/app"}' -s dev pronovix/drupal-module-template /tmp/my_module
```

(This will create a module from the template in the host system's `/tmp/my_module` folder.)

Applying/updating template files on an existing module
------------------------------------------------------

[](#applyingupdating-template-files-on-an-existing-module)

1. Follow the steps from "Building a new module with Composer". If your module's machine name is `foobar` use that as a parameter, like `composer create-project -s dev pronovix/drupal-module-template foobar`.
2. Move the following folders and files from the created folder to your module's root:

- `.dev`
- `docs`

3. Move or merge the content of any remaining files and folders.

- **Pay more attention when you are merging the `composer.json` files, especially to the `require-dev` section which defines the correct versions of the testing related dependencies.**
- If you do not want to run tests on Travis CI then files that contains `travis` can be ignored.

Credits
-------

[](#credits)

Inspired by the [OpenEuropa Drupal module template](https://github.com/openeuropa/drupal-module-template).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

2481d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b934519ad88d26f2171de1abed39ae7441ac3f3947a3b25e4bc46aa41939ae6?d=identicon)[tamasd](/maintainers/tamasd)

---

Top Contributors

[![mxr576](https://avatars.githubusercontent.com/u/1755573?v=4)](https://github.com/mxr576 "mxr576 (9 commits)")

### Embed Badge

![Health badge](/badges/pronovix-drupal-module-template/health.svg)

```
[![Health](https://phpackages.com/badges/pronovix-drupal-module-template/health.svg)](https://phpackages.com/packages/pronovix-drupal-module-template)
```

PHPackages © 2026

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