Summary

Simple statistics backend for Drupal 8 using Redis as the data store.

Dependencies

  • Drupal core 8.3.x or higher
  • Statistics module

Install

  1. Install predis
    composer require predis/predis
  2. Add Redis URI to settings.php
    $settings['redis'] = 'redis://redistogo:bb37bb5805sdmf9382b43f752db04ee4a@hammerjaw.redistogo.com:11024/';
  3. Add service override to services.yml
    services:
        statistics.storage.node:
          alias: redis.statistics.storage.node

Example usage

Example use of Redis Statistics

Supporting organizations: 

Project Information

Downloads