roundearth/civicrm-composer-plugin

A composer plugin to assist with installing CiviCRM.

Installs: 6 188

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Forks: 11

Type:composer-plugin

dev-master 2019-11-22 20:24 UTC

This package is auto-updated.

Last update: 2024-04-16 21:36:03 UTC


README

This Composer plugin can be added to a fully 'composerized' Drupal 8 site in order to easily install CiviCRM on it.

This will ONLY work on a Drupal 8 site based on drupal-composer/drupal-project, so if you have an older Drupal 8 site that's not, you'll need to convert it before using this plugin.

Usage

You need a couple of dependencies first:

Make sure that you have a recent version of Composer! A couple of people have tried to use this plugin with older versions and have experienced issues.

After that, you can run this command:

composer require roundearth/civicrm-composer-plugin civicrm/civicrm-drupal-8

Installing CiviCRM

See the Composer project template for some tips on how to install CiviCRM once the code has been added via composer.

How does it work?

This is the file that does all the real work:

https://gitlab.com/roundearth/civicrm-composer-plugin/blob/master/src/Handler.php

References