opdavies/drupal-module-generator

Generates boilerplate code for Drupal modules.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 4

Type:project

pkg:composer/opdavies/drupal-module-generator

0.3.1 2020-02-10 09:15 UTC

This package is auto-updated.

Last update: 2025-10-10 22:02:48 UTC


README

A scaffolding tool for generating new modules for Drupal 7 and (soon) 8.

Watch a short demo.

Installation

The Drupal Module Generator is installed via Composer:

composer global require opdavies/drupal-module-generator

Usage

Drupal 7

dmg generate:drupal-7-module {name}

Generated Drupal 7 modules contain the appropriately named .info and .module files, as well as a test case located in src/Tests/Functional which is loaded automatically.