D8 installation via Composer is possible.
CiviCRM installation via Composer with D8 is possible (https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm).
CiviCRM extension installation via Composer would be a good thing (c) too.
As of August 2017 the process for installing CiviCRM with composer for Drupal is (https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm):
- Download and install Drupal 8.3.x (or the latest dev of Drupal 8.4.x!)
- Go into the root directory in the shell and run these commands(link is external) to install CiviCRM via composer (one day this will just be
composer require civicrm/civicrm-core). Assuming you have composer, bower, git and wget, you should be able to just copy-and-paste those commands into the command-line.
- If you use Apache, remove the 'vendor/.htacess' file. This is a security measure from Drupal, which prevents resources like CSS/JS being loaded. This will need some collaboration with the Drupal project to figure out a proper solution for because removing this file altogether is a bad idea on production. See: https://www.drupal.org/node/2896308(link is external)
- Go into the /modules directory and do:
git clone https://github.com/dsnopek/civicrm-drupal.git --branch composer-library
- Go to the "Extend" page (at /admin/modules) and install the CiviCRM module
- Log out and log back in again per CRM-19878(link is external)
- CiviCRM works!
After a process like this, or a shortened one like:
$ composer require civicrm/civicrm-core
we want to be able to install civicrm extensions with a command like:
$ composer require mr-vara/me.vara.civicasestatusupdate
$ composer require