wodby / drupal-php

PHP docker container image for Drupal
https://wodby.com/stacks/drupal
MIT License
61 stars 79 forks source link

Include Chi-teck/drupal-code-generator phar #82

Open kgaut opened 3 years ago

kgaut commented 3 years ago

Chi-teck/drupal-code-generator binary allows to scaffold code for drupal.

Drush embed 1. branches and commands, but a 2. version exist and offer new features

DCG could be used as a standalone phar (https://github.com/Chi-teck/drupal-code-generator#installation)

Having it in the path of the php image won't break the existing 1. drush integration and would also allow use to use new features from the 2. branch directly.

csandanov commented 3 years ago

What's the point of pre-installing it? Sounds like it's something like console and drush that should be installed via composer, especially since it has multiple versions and depends on the drush version

kgaut commented 3 years ago

Hi,

Drush lock the 1.3.* version of drupal code generator.

Embed the phar as a standalone, like drush launcher for instance, would allow us to use the 2.0.0 version directly.