| Server IP : 3.147.158.171 / Your IP : 216.73.216.216 Web Server : Apache/2.4.67 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-2-178.us-east-2.compute.internal 6.1.172-216.329.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 20 06:31:34 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /tsai/repo/store/vendor/chi-teck/drupal-code-generator/ |
Upload File : |
# Drupal Code Generator [](https://github.com/Chi-teck/drupal-code-generator/actions?query=workflow%3ATests) [](//packagist.org/packages/chi-teck/drupal-code-generator) [](https://php.net/) A command line code generator for Drupal. ## Installation ``` composer require chi-teck/drupal-code-generator --dev ``` Optionally, generate shell completions for DCG executable. ``` ./vendor/bin/dcg completion bash >> ~/.bash_completion ``` ## Usage ```shell # Display navigation. ./vendor/bin/dcg # Call generator directly. ./vendor/bin/dcg plugin:field:widget # Generate code non-interactively. ./vendor/bin/dcg config-form -a Example -a example -a SettingsForm -a No ``` ## Compatibility DCG|PHP|Symfony|Twig|Drupal|Drush :-:|:-:|:-:|:-:|:-:|:-: 1|7.1 - 7.4|3, 4|1, 2|7, 8|9, 10 2|7.4+|4, 5|2, 3|7, 9|11 3|8.1+|6|3|10|12 4|8.3+|7|3|11|13 ## License GNU General Public License, version 2 or later.