{"id":16222404,"url":"https://github.com/opdavies/drupal-module-generator","last_synced_at":"2026-04-29T09:35:57.641Z","repository":{"id":57031977,"uuid":"239288482","full_name":"opdavies/drupal-module-generator","owner":"opdavies","description":"A scaffolding tool for generating new modules for Drupal 7 and (soon) 8.","archived":false,"fork":false,"pushed_at":"2020-02-10T09:20:12.000Z","size":37,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T04:37:48.888Z","etag":null,"topics":["drupal","php","symfony-console"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/opdavies/drupal-module-generator","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opdavies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-09T10:54:15.000Z","updated_at":"2020-02-10T09:26:19.000Z","dependencies_parsed_at":"2022-08-23T18:50:15.284Z","dependency_job_id":null,"html_url":"https://github.com/opdavies/drupal-module-generator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fdrupal-module-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fdrupal-module-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fdrupal-module-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opdavies%2Fdrupal-module-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opdavies","download_url":"https://codeload.github.com/opdavies/drupal-module-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755588,"owners_count":20990626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal","php","symfony-console"],"created_at":"2024-10-10T12:13:46.152Z","updated_at":"2026-04-29T09:35:52.617Z","avatar_url":"https://github.com/opdavies.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal Module Generator (dmg)\n\nA scaffolding tool for generating new modules for Drupal 7 and (soon) 8.\n\n[Watch a short demo][demo].\n\n[demo]: https://opdavi.es/6i3YZ 'A short demo video on YouTube'\n\n## Installation\n\nThe Drupal Module Generator is installed via [Composer][]:\n\n```bash\ncomposer global require opdavies/drupal-module-generator\n```\n\n[composer]: https://getcomposer.org\n\n## Usage\n\n### Drupal 7\n\n```bash\ndmg generate:drupal-7-module {name}\n```\n\nGenerated Drupal 7 modules contain the appropriately named `.info` and `.module` files,\nas 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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopdavies%2Fdrupal-module-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopdavies%2Fdrupal-module-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopdavies%2Fdrupal-module-generator/lists"}