Install Drupal 8 with Composer

We'll use the drupal-composer/drupal-project as a starting point for our project. It's highly supported and developed by the community and is pretty much what everyone points to as a starting point for a Drupal 8 Composer-based project.

Download the Latest Version of Drupal

In the "Usage" section of the README.md you'll see the instructions on how to create a new project. The command is:

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

This command will create a new project based on the drupal-project repo in the "some-dir" directory, and run composer install to install all required packages and dependencies. I'll do that, but change "some-dir" to my project name.

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