weitzman / drupal-code-generator

A code generator for Drupal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drupal Code Generator

Tests Total Downloads Minimum PHP Version

A command line code generator for Drupal.

Installation

  1. Download the latest stable release of the code generator.
  2. Make the file executable.
  3. 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, 10
2 7.4+ 4, 5 2, 3 7, 9 11+

License

GNU General Public License, version 2 or later.

About

A code generator for Drupal.

License:GNU General Public License v2.0


Languages

Language:PHP 96.8%Language:Shell 2.4%Language:JavaScript 0.7%Language:CSS 0.1%Language:HTML 0.0%