keen-io / keen-io-zf2
Zend Framework 2 module for using KeenIO
Requires
- php: >=5.3.3
- keen-io/keen-io: ~2.0
- zendframework/zend-modulemanager: ~2.0
- zendframework/zend-servicemanager: ~2.0
Requires (Dev)
- phpunit/phpunit: ~3.7
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2024-11-19 01:13:20 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.