2017 © Pedro Peláez
 

library event-bus-extra-mixpanel

aztech/event-bus Mixpanel publisher provider

image

aztech/event-bus-extra-mixpanel

aztech/event-bus Mixpanel publisher provider

  • Wednesday, January 28, 2015
  • by thibaud-evaneos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

aztech/event-bus-extra-mixpanel

Build status

Build Status Code Coverage Scrutinizer Quality Score Dependency Status HHVM Status, (*1)

Stability

Latest Stable Version Latest Unstable Version, (*2)

Installation

Via Composer

Composer is the only supported way of installing aztech/event-bus-extra-mixpanel . Don't know Composer yet ? Read more about it., (*3)

$ composer require "aztech/event-bus-extra-mixpanel":"~1", (*4)

Autoloading

Add the following code to your bootstrap file :, (*5)

require_once 'vendor/autoload.php';

Dependencies

  • mixpanel/mixpanel-php : ~2

Supported elements :

  • Persistent publish

Configuration options & defaults

Parameter Default Description
project-token required Your Mixpanel project token.
always-flush false Whether to flush events after each Mixpanel publish.

The always-flush parameter is useful if you want to use the plugin in long running processes. By default, the Mixpanel API flushes sent events only at the end of the execution cycle. This is fine for most cases, but in long running processes, you can set this option to true to ensure an event is flushed by the API after each publish., (*6)

Initialization


require_once 'vendor/autoload.php'; use \Aztech\Events\Bus\Events; use \Aztech\Events\Bus\Plugins\Mixpanel\Mixpanel; Mixpanel::loadPlugin('mix'); // See options chart for actual parameters $options = array('project-token' => 'YOUR_TOKEN'); $publisher = Events::createPublisher('mix', $options); $event = Events::create('category', array('property' => 'value')); $publisher->publish($event); // ...

The Versions

28/01 2015

dev-master

9999999-dev

aztech/event-bus Mixpanel publisher provider

  Sources   Download

The Requires

 

The Development Requires

events event aztech dispatch mixpanel

28/08 2014

v1.0.2

1.0.2.0

aztech/event-bus Mixpanel publisher provider

  Sources   Download

The Requires

 

The Development Requires

events event aztech dispatch mixpanel

28/08 2014

v1.0.1

1.0.1.0

aztech/event-bus Mixpanel publisher provider

  Sources   Download

The Requires

 

The Development Requires

events event aztech dispatch mixpanel

28/08 2014

v1.0.0

1.0.0.0

aztech/event-bus Mixpanel publisher provider

  Sources   Download

The Requires

 

The Development Requires

events event aztech dispatch mixpanel