Figuring out how to use the Composer package manager to handle your project's dependencies can be a bit tricky. Using the Drupal Composer Project as a starting point provides you with an opinionated (and Drupal-aware) starting point. This project provides help with many of the common initial project setup tasks including the installation of tools like Drush and Drupal Console, as well as setting the correct file permissions required to actually install Drupal.
- Use a common scaffold tool for new project setup
- Leverage Composer to manage all of the dependencies of the codebase
- Start each new project with the most recent Drush and Drupal Console versions ready to go
- Manage the Drupal core update process more easily
The approach taken by this project is an established best practice in the larger PHP development community, but its adoption in the Drupal community is still emerging.