opdavies / drupal-module-generator
Generates boilerplate code for Drupal modules.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 4
Type:project
Requires
- php: ^7.2
- symfony/console: ^4.0 || ^5.0
- symfony/dependency-injection: ^4.0 || ^5.0
- symfony/filesystem: ^4.0 || ^5.0
- symfony/finder: ^4.0 || ^5.0
- tightenco/collect: ^6.14
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^8.5
- symfony/var-dumper: ^4.0 || ^5.0
README
A scaffolding tool for generating new modules for Drupal 7 and (soon) 8.
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.