t3n/eventsourcing-googlefirestoreeventstore

Neos.EventSourcing adapter for the Google Cloud Firestore

dev-master 2019-04-30 11:13 UTC

README

CircleCI Latest Stable Version Total Downloads

t3n.EventSourcing.GoogleFireStoreEventStore

Neos.EventSourcing adapter for the Google Cloud Firestore

Installation

Install via composer:

composer require t3n/eventsourcing-googlefirestoreeventstore

Configuration

Example configuration:

Neos:
  EventSourcing:
    EventStore:
      stores:
        'default':
          storage: 't3n\EventSourcing\GoogleFireStoreEventStore\GoogleFireStoreEventStorage'
          storageOptions:
            baseDocumentId: 'some_namespace'
            fireStoreConfig:
              keyFilePath: '%FLOW_PATH_ROOT%Configuration/keyfile.json'

You can obtain a Google Cloud key at https://console.cloud.google.com/apis/credentials/serviceaccountkey