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. Email us for help if needed.
Installs: 3 100
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
pkg:composer/ellisthedev/laravel-mixpanel
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.