Can we add the instructions for using composer to install Drupal8 to the Drupal project page?

More info can be found here.

I don't believe there are composer install instructions for Drupal 7.

Comments

SocialNicheGuru created an issue. See original summary.

cilefen’s picture

Title: Add composer download instructions to http://drupal.org/project/drupal for Drupal8 » Add composer download instructions to the Drupal project page
Issue summary: View changes
cilefen’s picture

Title: Add composer download instructions to the Drupal project page » Add composer-based install instructions to the Drupal project page
mile23’s picture

There aren't any Composer-based install instructions for Drupal, because that's not a defined behavior for Drupal.

That's why we have #2958021: Proposal: Composer Support in Core initiative and #2982674: [meta] Composer Initiative Phase 1: Add composer build support to core

In particular, #2982680: Add composer-ready project templates to Drupal core is the first goal, so that you can safely use Composer to build a Drupal site using core-native packages.

socialnicheguru’s picture

So this does not work?

It seemed to work for me. This is not a supported way to install Drupal 8?

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

cilefen’s picture

@SocialNicheGuru The core team doesn't support drupal-composer/drupal-project but it works for a lot of people. The idea is to "bake-in" create-project into the base product.

Version: 8.6.3 » 8.6.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.6.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Active » Closed (outdated)

The comments have explained the situation with composer. That leaves the suggesting for adding composer instructions to the Drupal Core project page. Since this issue was created the page was significantly changes and now includes a link to instructions for installing Drupal using composer.

Therefore, closing this as outdated.