PHPackages                             mixpanel/mixpanel-php - 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. mixpanel/mixpanel-php

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

mixpanel/mixpanel-php
=====================

The Official PHP library for Mixpanel

2.11.0(3y ago)14216.0M↓11.5%70[8 PRs](https://github.com/mixpanel/mixpanel-php/pulls)20Apache-2.0PHPPHP &gt;=5.0CI failing

Since Jun 21Pushed 2mo ago80 watchersCompare

[ Source](https://github.com/mixpanel/mixpanel-php)[ Packagist](https://packagist.org/packages/mixpanel/mixpanel-php)[ Docs](https://mixpanel.com/help/reference/php)[ RSS](/packages/mixpanel-mixpanel-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (21)Used By (20)

Mixpanel PHP Library [![Build Status](https://camo.githubusercontent.com/cbf6a0f8f2290abb0b4a559a0752e17f877a3145326f210559ae90847d0733af/68747470733a2f2f7472617669732d63692e6f72672f6d697870616e656c2f6d697870616e656c2d7068702e737667)](https://travis-ci.org/mixpanel/mixpanel-php)
=======================================================================================================================================================================================================================================================================================

[](#mixpanel-php-library-)

This library provides an API to track events and update profiles on Mixpanel.

Install with Composer
---------------------

[](#install-with-composer)

Add mixpanel/mixpanel-php as a dependency and run composer update

```
"require": {
    ...
    "mixpanel/mixpanel-php" : "2.*"
    ...
}
```

Now you can start tracking events and people:

```
