{"id":15561100,"url":"https://github.com/elasticorange/laravelmixpanel","last_synced_at":"2026-05-01T10:30:59.808Z","repository":{"id":30955948,"uuid":"34514069","full_name":"ElasticOrange/LaravelMixpanel","owner":"ElasticOrange","description":"Mixpanel package interface for Laravel 5","archived":false,"fork":false,"pushed_at":"2015-06-15T20:26:07.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-03T14:11:59.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElasticOrange.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-24T11:05:12.000Z","updated_at":"2015-06-13T15:23:19.000Z","dependencies_parsed_at":"2022-09-09T03:21:20.846Z","dependency_job_id":null,"html_url":"https://github.com/ElasticOrange/LaravelMixpanel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElasticOrange%2FLaravelMixpanel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElasticOrange%2FLaravelMixpanel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElasticOrange%2FLaravelMixpanel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElasticOrange%2FLaravelMixpanel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElasticOrange","download_url":"https://codeload.github.com/ElasticOrange/LaravelMixpanel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246135790,"owners_count":20729061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T16:05:28.008Z","updated_at":"2026-05-01T10:30:59.755Z","avatar_url":"https://github.com/ElasticOrange.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"laravel-mixpanel\n================\n\nInstall it with\n\n```\ncomposer require \"hydrarulz/laravel-mixpanel:dev-master\"\n```\n\nAdd the service provider at the end of the `providers` array in file `config/app.php`:\n\n```php\n'Hydrarulz\\LaravelMixpanel\\LaravelMixpanelServiceProvider',\n```\n\nThe service provider will register an interface, but you should also register the alias at the end of the `aliases` array:\n\n```php\n'LaravelMixpanel' =\u003e 'Hydrarulz\\LaravelMixpanel\\Facades\\LaravelMixpanel',\n```\n\nThen the you should publish the config file with\n`php artisan vendor:publish`\nThis creates your config file `/config/laravel-mixpanel.php` that looks like this:\n\n    \u003c?php\n\n    return [\n        'token' =\u003e 'YOUR TOKEN HERE'\n    ];\n\nReplace with your Mixpanel token.\n\nAfter this you can start using it in your application\n\n```php\n$mixpanel = LaravelMixpanel::getInstance();\n$mixpanel-\u003epeople-\u003eset(\n    $user-\u003emixpanel_id\n    , [\n        'name' =\u003e 'Daniel Luca'\n    ]\n);\n$mixpanel-\u003etrack(\n\t'Event'\n    , [\n        'Type' =\u003e 'Click'\n    ]\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felasticorange%2Flaravelmixpanel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felasticorange%2Flaravelmixpanel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felasticorange%2Flaravelmixpanel/lists"}