- Log in to post comments
The Drupal docs say to use composer create-project drupal/recommended-project my-project
.
It also mentions drupal-composer/drupal-project, which was the recommended project starter before one was added to core.
Is there any reason to still use drupal-composer/drupal-project?
One difference is that drupal-composer/drupal-project uses a ScriptHandler class:
"scripts": {
"pre-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
],
"pre-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
]
}