ellisthedev / laravel-mixpanel
Mixpanel Laravel 5.1 Provider
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.0.1
2015-06-11 20:35 UTC
Requires
- php: >=5.5.9
- illuminate/support: ~5.1
- mixpanel/mixpanel-php: ~2.6
This package is not auto-updated.
Last update: 2020-08-07 19:50:02 UTC
README
Installation
Step 1: Composer
Require this package with Composer using the following command:
composer require ellisthedev/laravel-mixpanel
Step 2: Configuration
Add the following to your config/app.php
in the providers
array:
EllisTheDev\Mixpanel\Providers\MixpanelServiceProvider::class
You can also optionally add the following to the aliases
array:
'LaravelMixpanel' => EllisTheDev\Mixpanel\Facades\MixpanelFacade::class,
Usage
Add the following to your config/services.php
file:
'mixpanel' => [ 'token' => '', // Your Mixpanel API Token ],
Refer to the Mixpanel Documentation for API usage.