PHPackages                             cohorly/cohorly-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. [API Development](/categories/api)
4. /
5. cohorly/cohorly-php

ActiveLibrary[API Development](/categories/api)

cohorly/cohorly-php
===================

Official Cohorly PHP SDK - server-side event tracking for self-hosted product analytics

v0.1.0(4d ago)00Apache-2.0PHPPHP &gt;=8.1

Since Jul 5Pushed 4d agoCompare

[ Source](https://github.com/cohorly-io/cohorly-php)[ Packagist](https://packagist.org/packages/cohorly/cohorly-php)[ RSS](/packages/cohorly-cohorly-php/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Cohorly PHP SDK
===============

[](#cohorly-php-sdk)

Server-side PHP SDK for [Cohorly](../../README.md), the self-hosted product analytics platform. The API mirrors the Mixpanel PHP library, so if you have used `mixpanel-php` you already know this SDK.

Requires PHP &gt;= 8.1 with `ext-curl` and `ext-json`. No other dependencies.

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

[](#installation)

```
composer require cohorly/cohorly-php
```

Or add it to `composer.json`:

```
{
    "require": {
        "cohorly/cohorly-php": "^0.1"
    }
}
```

Quickstart
----------

[](#quickstart)

```
