PHPackages                             aztech/event-bus-extra-mixpanel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aztech/event-bus-extra-mixpanel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aztech/event-bus-extra-mixpanel
===============================

aztech/event-bus Mixpanel publisher provider

v1.0.2(11y ago)019PHP

Since Aug 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/aztech-dev/event-bus-extra-mixpanel)[ Packagist](https://packagist.org/packages/aztech/event-bus-extra-mixpanel)[ RSS](/packages/aztech-event-bus-extra-mixpanel/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

aztech/event-bus-extra-mixpanel
===============================

[](#aztechevent-bus-extra-mixpanel)

Build status
------------

[](#build-status)

[![Build Status](https://camo.githubusercontent.com/a1f892c96fe44529a854df68b75ee6c79ea76c6bbb9a5993eab754d365ab596a/68747470733a2f2f7472617669732d63692e6f72672f617a746563682d6465762f6576656e742d6275732d65787472612d6d697870616e656c2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/aztech-dev/event-bus-extra-mixpanel)[![Code Coverage](https://camo.githubusercontent.com/2a458fe62db666fd0e20400e70929badf0ede697b54cca0faffe4eafc11a3160/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f617a746563682d6465762f6576656e742d6275732d65787472612d6d697870616e656c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aztech-dev/event-bus-extra-mixpanel/?branch=master)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/bcd87e62f9a6350e539aad5f6fccc2489e86818d732d7b3cc895375aea590d7d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f617a746563682d6465762f6576656e742d6275732d65787472612d6d697870616e656c2f6261646765732f7175616c6974792d73636f72652e706e673f733d36363865346466356261313633633830343530343235376434613032366130613534396632323061)](https://scrutinizer-ci.com/g/aztech-dev/event-bus-extra-mixpanel/)[![Dependency Status](https://camo.githubusercontent.com/cb12b4e1b96d5538ba2849553f22736eaf98dd9582b661fcefcf2b202293b4da/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533623932613834363039666630346637663030303030332f62616467652e737667)](https://www.versioneye.com/user/projects/53b92a84609ff04f7f000003)[![HHVM Status](https://camo.githubusercontent.com/8a64d9d9d8a3b2d10e45ce078f9319b062ac96c6eecf32e0fb06f2bc3ea1faf8/687474703a2f2f6868766d2e683463632e64652f62616467652f617a746563682f6576656e742d6275732d65787472612d6d697870616e656c2e706e67)](http://hhvm.h4cc.de/package/aztech/event-bus-extra-mixpanel)

Stability
---------

[](#stability)

[![Latest Stable Version](https://camo.githubusercontent.com/6c08a3afa308f6adb625b9d1e6e2fa5ce66774023cef86304774cd8a16ccae79/68747470733a2f2f706f7365722e707567782e6f72672f617a746563682f6576656e742d6275732d65787472612d6d697870616e656c2f762f737461626c652e706e67)](https://packagist.org/packages/aztech/event-bus-extra-mixpanel)[![Latest Unstable Version](https://camo.githubusercontent.com/ca78db0cbd38be0070eec2dd3e2ca19d48bebb27cfb7fdff5c699cd55ed5664d/68747470733a2f2f706f7365722e707567782e6f72672f617a746563682f6576656e742d6275732d65787472612d6d697870616e656c2f762f756e737461626c652e706e67)](https://packagist.org/packages/aztech/event-bus-extra-mixpanel)

Installation
------------

[](#installation)

### Via Composer

[](#via-composer)

Composer is the only supported way of installing *aztech/event-bus-extra-mixpanel* . Don't know Composer yet ? [Read more about it](https://getcomposer.org/doc/00-intro.md).

`$ composer require "aztech/event-bus-extra-mixpanel":"~1"`

Autoloading
-----------

[](#autoloading)

Add the following code to your bootstrap file :

```
require_once 'vendor/autoload.php';

```

Dependencies
------------

[](#dependencies)

- mixpanel/mixpanel-php : ~2

Supported elements :
--------------------

[](#supported-elements-)

- Persistent publish

Configuration options &amp; defaults
------------------------------------

[](#configuration-options--defaults)

ParameterDefaultDescription`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.

Initialization
--------------

[](#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);
// ...
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

4279d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d21270e5d40f7ee05bb875b2442496ffd38cec041f7fdcc507b8b040f7e7f8?d=identicon)[thibaud-evaneos](/maintainers/thibaud-evaneos)

---

Top Contributors

[![aztech-dev](https://avatars.githubusercontent.com/u/93562568?v=4)](https://github.com/aztech-dev "aztech-dev (3 commits)")

---

Tags

eventeventsdispatchmixpanelaztech

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/aztech-event-bus-extra-mixpanel/health.svg)

```
[![Health](https://phpackages.com/badges/aztech-event-bus-extra-mixpanel/health.svg)](https://phpackages.com/packages/aztech-event-bus-extra-mixpanel)
```

###  Alternatives

[doctrine/event-manager

The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.

6.1k501.1M115](/packages/doctrine-event-manager)[laminas/laminas-eventmanager

Trigger and listen to events within a PHP application

1.0k69.8M225](/packages/laminas-laminas-eventmanager)[tormjens/eventy

The WordPress filter/action system in Laravel

438912.9k16](/packages/tormjens-eventy)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)[zumba/symbiosis

Symbiosis, event structure for bootstrapping plugins.

1360.4k1](/packages/zumba-symbiosis)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
