PHPackages                             gist/analytics - 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. gist/analytics

ActiveProject[API Development](/categories/api)

gist/analytics
==============

Connect to the Gist Analytics API

v1.0.3(3y ago)05.6kMITPHPPHP &gt;=7.3 | &gt;8

Since Oct 5Pushed 3y agoCompare

[ Source](https://github.com/GistApps/analytics-php)[ Packagist](https://packagist.org/packages/gist/analytics)[ RSS](/packages/gist-analytics/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

Gist Analytics API Connection
=============================

[](#gist-analytics-api-connection)

The client class interacts with the Gist Analytics Platform to get and set data

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

[](#installation)

Install using composer

```
composer require gist/analytics
```

Usage
-----

[](#usage)

Sign up for Gist Analytics at

Register your application, and make note of the Access token generated. This token will only be displayed once, so make sure to save the record of it.

```
use Gist\Analytics;

$client = new Analytics\Client([
  'api_key' => 'Your API key'
]);

// Insert a new record
$event = $client->insert($name, $value, $meta = []);

// Query for existing records.
$event = $client->query($name, $startDate, $endDate, $query = [], $meta = [], $format = "default");
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Total

5

Last Release

1406d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1715f6791367f832e041d700d65a000da8761b7e829dce6c76ef18b3597ec291?d=identicon)[Gist](/maintainers/Gist)

---

Tags

apigistanalytics

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gist-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/gist-analytics/health.svg)](https://phpackages.com/packages/gist-analytics)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[siro/php-klaviyo-api

Low level but elegant Klaviyo full API wrapper for PHP with asynchronous track event support

16115.4k](/packages/siro-php-klaviyo-api)[ozankurt/google-analytics

Laravel Google Analytics

7616.7k](/packages/ozankurt-google-analytics)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
