From 8.x-3.0-Beta2 onwards this module should be installable with normal Drupal composer install steps, composer require drupal/civicrm_entity.
Due to a bug with Drupal.org's composer facade. It's not possible to simply composer require drupal/civicrm_entity without some preparation.
To get CiviCRM Entity installed with composer the following steps will work:
- Add the CiviCRM Entity repository to your composer.json:
composer config repositories.civicrm_entity vcs https://github.com/eileenmcnaughton/civicrm_entity - Require CiviCRM Entity's
8.x-3.xgit branch:
composer require drupal/civicrm_entity:dev-8.x-3.x
Note:
You should ensure that your composer.json file has versioned requirements for both civicrm/civicrm-core and civicrm/civicrm-drupal-8.
For example:
"civicrm/civicrm-core": "^5.19",
"civicrm/civicrm-drupal-8": "^5.19",By default the RoundEarth method uses dev-master for civicrm/civicrm-drupal-8 - this is dangerous and not recommended!