PHPackages                             kewljuice/calibr8\_civicrm - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kewljuice/calibr8\_civicrm

ActiveDrupal-custom

kewljuice/calibr8\_civicrm
==========================

Calibrate module for CiviCRM + Drupal 8 projects

1.4(3y ago)01.8k1GPL-2.0+

Since Jan 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kewljuice/calibr8_civicrm)[ Packagist](https://packagist.org/packages/kewljuice/calibr8_civicrm)[ RSS](/packages/kewljuice-calibr8-civicrm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

Installation
============

[](#installation)

This module is installed as any other Drupal module.

- with Drush `drush pm-enable -y calibr8_civicrm`
- with Composer

`composer config repositories.calibr8_civicrm vcs https://github.com/kewljuice/calibr8_civicrm`

`composer require calibrate/calibr8_civicrm `

Development
===========

[](#development)

```
 // Export CiviCRM permissions as JSON.

 // Fetch roles.
 $permissions = \Drupal::service('user.permissions')->getPermissions();
 $permissions_by_provider = [];
 foreach ($permissions as $key => $permission) {
   $permissions_by_provider[$permission['provider']][] = $key;
 }

 // Loop all roles from System.
 $roles = \Drupal\user\Entity\Role::loadMultiple();
 $permissions_by_role = [];
 foreach ($roles as $role) {
   $perms = $role->getPermissions();
   foreach ($perms as $perm) {
     if (in_array($perm, $permissions_by_provider['civicrm'])) {
       $permissions_by_role[$role->id()][] = $perm;
     }
   }
 }

 // Export.
 $permissions_by_role = json_encode($permissions_by_role);
 dpm($permissions_by_role);

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~356 days

Total

5

Last Release

1233d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed809f703973f1fde2e0bd970dce0a3baeaad40c9cdb9bf2ab512081d4796f09?d=identicon)[kewljuice](/maintainers/kewljuice)

---

Top Contributors

[![kewljuice](https://avatars.githubusercontent.com/u/3306776?v=4)](https://github.com/kewljuice "kewljuice (24 commits)")

---

Tags

Drupal 8civicrmCalibr8

### Embed Badge

![Health badge](/badges/kewljuice-calibr8-civicrm/health.svg)

```
[![Health](https://phpackages.com/badges/kewljuice-calibr8-civicrm/health.svg)](https://phpackages.com/packages/kewljuice-calibr8-civicrm)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
