chi-teck / drupal-code-generator
Drupal code generator
Installs: 7 051 873
Dependents: 3
Suggesters: 0
Security: 0
Stars: 184
Watchers: 11
Forks: 27
Open Issues: 5
Requires
- php: >=7.3
- ext-json: *
- psr/log: ^1.1
- symfony/console: ^4.4.15 || ^5.0
- symfony/filesystem: ^4.4 || ^5.0
- symfony/inflector: ^4.4 || ^5.0
- twig/twig: ^2.12 || ^3.0
Requires (Dev)
- chi-teck/drupal-coder-extension: ^1.0
- drupal/coder: ^8.3.8
- friendsoftwig/twigcs: ^3.2
- phpunit/phpunit: ^8.5
- squizlabs/php_codesniffer: ^3.5
- symfony/var-dumper: ^5.0
- symfony/yaml: ^5.0
- dev-master / 2.x-dev
- 2.0.0
- 2.0.0-RC3
- 2.0.0-RC2
- 2.0.0-RC1
- 2.0.0-beta6
- 2.0.0-beta5
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- 2.0.0-alpha1
- 1.x-dev
- 1.33.1
- 1.33.0
- 1.32.1
- 1.32.0
- 1.31.0
- 1.30.x-dev
- 1.30.5
- 1.30.4
- 1.30.3
- 1.30.2
- 1.30.1
- 1.30.0
- 1.29.2
- 1.29.1
- 1.29.0
- 1.28.1
- 1.28.0
- 1.27.0
- 1.26.3
- 1.26.2
- 1.26.1
- 1.26.0
- 1.25.1
- 1.25.0
- 1.24.0
- 1.23.2
- 1.23.1
- 1.23.0
- 1.22.0
- 1.21.3
- 1.21.2
- 1.21.1
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.4
- 1.18.3
- 1.18.2
- 1.18.1
- 1.18.0
- 1.17.5
- 1.17.4
- 1.17.3
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.0
- 1.15.1
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2021-01-05 13:58:15 UTC
README
A command line code generator for Drupal.
Installation
- Download the latest stable release of the code generator.
- Make the file executable.
- Move it to a directory that is part of your
PATH
.
Installation using Composer is also supported.
Upgrade
Simply repeat installation commands.
Usage
# Display navigation. dcg # Call generator directly. dcg plugin:field:widget # Generate code non-interactively. dcg config-form -a Example -a example -a SettingsForm -a No
Compatibility
DCG | PHP | Symfony | Twig | Drupal | Drush |
---|---|---|---|---|---|
1 | 7.1+ | 3, 4 | 1, 2 | 7, 8 | 9+ |
2 | 7.3+ | 4, 5 | 2, 3 | 7, 9 |
License
GNU General Public License, version 2 or later.