lwc/kumite-moa

Bridge library for backing Kumite onto Moa

0.5.2 2013-01-22 12:21 UTC

This package is not auto-updated.

Last update: 2024-10-26 14:44:29 UTC


README

Bridge library to back Kumite onto mongoDb via moa

Installing

composer require lwc/kumite-moa

Using

Provide an instance of MoaStorageAdapter during the setup of kumite:

<?php

Kumite::setup(array(
  'storageAdapter' => new MoaStorageAdapter(),
  'tests' => function() {
    require_once('path/to/configuration/file.php');
    return $config;
  }
));

Querying

Query for events and participants via the Moa domain objects, see 99designs/moa for details