In https://www.drupal.org/docs/official_docs/en/_local_development_guide.html we provide a command to use composer to install Drupal:

composer create-project drupal-composer/drupal-project:8.x-dev --stability dev --no-interaction $SITE_NAME

As of Drupal core 8.8 there's a new drupal/recommended-project composer template. And while drupal-composer/drupal-project still works we should probably recommend the official one in this guide.

composer create-project drupal/recommended-project $SITE_NAME

Related change record: https://www.drupal.org/node/3082474

CommentFileSizeAuthor
#2 3112045-2-composer-template.patch584 byteseojthebrave
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eojthebrave created an issue. See original summary.

eojthebrave’s picture

Status: Active » Needs review
FileSize
584 bytes

Here's a patch to update to the new command.

I wonder if we should also create a new 8.x-8.x-dev branch of this guide since these changes are specific to Drupal ^8.8?

Amber Himes Matz’s picture

Patch in #2 looks good to me.

Amber Himes Matz’s picture

Status: Needs review » Reviewed & tested by the community
eojthebrave’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @Amber Himes Matz.

I create a new 8.x-8.x branch of this project, and committed this patch to that branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.