CiviMRF
CiviMRF is a CiviCRM remote integration toolkit. This repository is a Drupal module wrapping the core.
Install
You have two methods to install this module. Both need composer.
Download installation method
- Download and untar this module in the
<drupdalroot>/web/modules/contrib
directory. > cd cmrf_core
composer install
Composer only method
-
composer require drupal/cmrf_core
.
Setup
Configure your default connection profile at admin/config/cmrf_profile. If you need to, you can create multiple profiles there.
Usage
Have a look at the cmrf_example module. The API Calls itself are wrapped in a class CiviClient to do the heavy lifting. A Unit Test demonstrates how to use the class.