keen-io/keen-io-zf2

Zend Framework 2 module for using KeenIO

2.0.0 2014-01-02 20:36 UTC

This package is not auto-updated.

Last update: 2024-10-08 00:37:46 UTC


README

KeenIOModule is a Zend Framework 2 module that integrates with the KeenIO client

Installation

To install KeenIOModule, use composer:

php composer.phar require keen-io/keen-io-zf2:~2.0

Enable KeenIOModule in your application.config.php, then copy the file vendor/keen-io/keen-io-zf2/config/keen_io.local.php.dist to the config/autoload directory of your application (don't forget to remove the .dist extension from the file name!).

Usage

This module registers the KeenIO client in your application's service manager. You can get it by requesting the service KeenIO\Client\KeenIOClient:

$keenIOClient = $serviceManager->get('KeenIO\Client\KeenIOClient');

For more information on the usage of KeenIO, please refer to the documentation of the PHP client and the main keen.io documentation.