2017 © Pedro Peláez
 

library drupal-code-generator

Drupal code generator

image

chi-teck/drupal-code-generator

Drupal code generator

  • Saturday, July 14, 2018
  • by chi-teck
  • Repository
  • 11 Watchers
  • 106 Stars
  • 628,474 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 14 Forks
  • 0 Open issues
  • 57 Versions
  • 42 % Grown

The README.md

Drupal Code Generator

Build Status, (*1)

A command line code generator for Drupal., (*2)

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.
release_url=https://api.github.com/repos/chi-teck/drupal-code-generator/releases/latest
wget $(wget -qO- $release_url | awk -F'"' '/browser_download_url/ { print $4 }')
chmod +x dcg.phar
sudo mv dcg.phar /usr/local/bin/dcg
dcg --version

Installation using Composer is also supported., (*3)

Upgrade

Simply repeat installation commands., (*4)

Usage

# Display main menu.
dcg

# Display Drupal 8 submenu.
dcg d8

# Call generator directly.
dcg d8:plugin:field:widget

# Generate code non interactively.
dcg twig-extension -a '{"name": "Example", "machine_name": "example", "class": "ExampleTwigExtension"}'

Extending

All custom generators should be placed to $HOME/.dcg/Command directory. The following command will help you to get started with creating own generators., (*5)

# Create custom DCG command.
dcg dcg-command -d $HOME/.dcg/Command

License

GNU General Public License, version 2 or later., (*6)

The Versions

14/07 2018

dev-master

9999999-dev

Drupal code generator

  Sources   Download

GPL2 GPL-2.0-or-later

The Requires

 

20/06 2018

1.25.1

1.25.1.0

Drupal code generator

  Sources   Download

GPL-2.0-or-later

The Requires

 

19/06 2018

1.25.0

1.25.0.0

Drupal code generator

  Sources   Download

GPL-2.0-or-later

The Requires

 

25/04 2018

1.24.0

1.24.0.0

Drupal code generator

  Sources   Download

GPL-2.0-or-later

The Requires

 

03/03 2018

1.23.2

1.23.2.0

Drupal code generator

  Sources   Download

GPL-2.0-or-later

The Requires

 

27/02 2018

1.23.1

1.23.1.0

Drupal code generator

  Sources   Download

GPL-2.0-or-later

The Requires

 

27/02 2018

1.23.0

1.23.0.0

Drupal code generator

  Sources   Download

GPL-2.0-or-later

The Requires

 

06/01 2018

1.22.0

1.22.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

07/12 2017

1.21.3

1.21.3.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

06/12 2017

1.21.2

1.21.2.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

06/12 2017

1.21.x-dev

1.21.9999999.9999999-dev

Drupal code generator

  Sources   Download

GPL2

The Requires

 

06/12 2017

1.21.1

1.21.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

05/12 2017

1.21.0

1.21.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

22/10 2017

1.20.0

1.20.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

04/08 2017

1.19.0

1.19.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/07 2017

1.18.4

1.18.4.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/07 2017

1.18.3

1.18.3.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/07 2017

1.18.2

1.18.2.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/07 2017

1.18.1

1.18.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/07 2017

1.18.0

1.18.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

27/06 2017

1.17.x-dev

1.17.9999999.9999999-dev

Drupal code generator

  Sources   Download

GPL2

The Requires

 

27/06 2017

1.17.5

1.17.5.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/06 2017

1.17.4

1.17.4.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

16/06 2017

1.17.3

1.17.3.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

15/06 2017

1.17.2

1.17.2.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

15/06 2017

1.17.1

1.17.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

14/06 2017

1.17.0

1.17.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

31/05 2017

1.16.0

1.16.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

05/03 2017

dev-development

dev-development

Drupal code generator

  Sources   Download

GPL2

The Requires

 

17/01 2017

1.15.1

1.15.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

17/01 2017

1.15.0

1.15.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

18/12 2016

1.14.0

1.14.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

22/10 2016

1.13.0

1.13.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

09/10 2016

1.12.1

1.12.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

09/10 2016

1.12.0

1.12.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

04/09 2016

1.11.0

1.11.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

04/08 2016

1.10.2

1.10.2.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

24/07 2016

1.10.1

1.10.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

23/07 2016

1.10.0

1.10.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

07/03 2016

1.9.1

1.9.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

07/03 2016

1.9.0

1.9.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

23/12 2015

1.8.1

1.8.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

23/12 2015

1.8.0

1.8.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

29/11 2015

1.7.0

1.7.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

17/11 2015

1.6.1

1.6.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

15/11 2015

1.6.0

1.6.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

07/11 2015

1.5.0

1.5.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

15/08 2015

1.4.1

1.4.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

15/08 2015

1.4.0

1.4.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

03/08 2015

1.3.0

1.3.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

26/07 2015

1.2.1

1.2.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

26/07 2015

1.2.0

1.2.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

25/07 2015

1.1.0

1.1.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

19/07 2015

1.0.3

1.0.3.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

19/07 2015

1.0.2

1.0.2.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

18/07 2015

1.0.1

1.0.1.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires

05/04 2015

1.0.0

1.0.0.0

Drupal code generator

  Sources   Download

GPL2

The Requires

 

The Development Requires