I have two recommendation to improve this project:
1- As of Drupal 8.8, Drupal introduce drupal/core-composer-scaffold. It would be nice to make Composerize smarter to add drupal/core-recommended and drupal/core-composer-scaffold if user has 8.8 and greater. If less than 8.8 we should recommend to use drupal-composer/drupal-scaffold.
In addition to add drupal/core-composer-scaffold we also need add following to extra otherwise composer install will not install the core in the docroot or web folder.
Also to follow best practices, I recommend to add drupal/core-vendor-hardening.
2- Since drupal-scaffold regenerates autoload.php file, Composerize should remove this file and let drupal-scaffold regenerate it to have the correct path to vendor folder.
I have two recommendation to improve this project: 1- As of Drupal 8.8, Drupal introduce
drupal/core-composer-scaffold
. It would be nice to make Composerize smarter to adddrupal/core-recommended
anddrupal/core-composer-scaffold
if user has 8.8 and greater. If less than 8.8 we should recommend to usedrupal-composer/drupal-scaffold
.In addition to add
drupal/core-composer-scaffold
we also need add following toextra
otherwisecomposer install
will not install the core in thedocroot
orweb
folder.Also to follow best practices, I recommend to add
drupal/core-vendor-hardening
.2- Since
drupal-scaffold
regenerates autoload.php file, Composerize should remove this file and letdrupal-scaffold
regenerate it to have the correct path tovendor
folder.I will create a pr to resolve this issues.
Thank you,