Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opdavies/drupal-module-generator
A scaffolding tool for generating new modules for Drupal 7 and (soon) 8.
https://github.com/opdavies/drupal-module-generator
drupal php symfony-console
Last synced: about 2 months ago
JSON representation
A scaffolding tool for generating new modules for Drupal 7 and (soon) 8.
- Host: GitHub
- URL: https://github.com/opdavies/drupal-module-generator
- Owner: opdavies
- Created: 2020-02-09T10:54:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-10T09:20:12.000Z (almost 5 years ago)
- Last Synced: 2024-12-18T01:09:45.391Z (about 2 months ago)
- Topics: drupal, php, symfony-console
- Language: PHP
- Homepage: https://packagist.org/packages/opdavies/drupal-module-generator
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drupal Module Generator (dmg)
A scaffolding tool for generating new modules for Drupal 7 and (soon) 8.
[Watch a short demo][demo].
[demo]: https://opdavi.es/6i3YZ 'A short demo video on YouTube'
## Installation
The Drupal Module Generator is installed via [Composer][]:
```bash
composer global require opdavies/drupal-module-generator
```[composer]: https://getcomposer.org
## Usage
### Drupal 7
```bash
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](https://www.oliverdavies.uk/articles/psr4-autoloading-test-cases-drupal-7).