PHPackages                             grummfy/stathat-read - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. grummfy/stathat-read

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

grummfy/stathat-read
====================

Library that helps reading stats from stathat

0.2.0(8y ago)07MITPHPPHP &gt;=7.1.0

Since Aug 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Grummfy/stathat-read)[ Packagist](https://packagist.org/packages/grummfy/stathat-read)[ RSS](/packages/grummfy-stathat-read/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (3)Used By (0)

Stathat read library
====================

[](#stathat-read-library)

[![Build Status](https://camo.githubusercontent.com/f15896a37c3d8d1110b4e339502f5e975431f8c7041450e787541f90bf246d09/68747470733a2f2f7472617669732d63692e6f72672f4772756d6d66792f737461746861742d726561642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Grummfy/stathat-read)

[Stathat](https://www.stathat.com/) is SaaS stat tracking tool. This small library is here to help read stats from it with PHP.

Usage
-----

[](#usage)

```
use Grummfy\StatHat;
use Grummfy\Stathat\HTTPAdapter\GuzzleAdapter;
use GuzzleHttp\Client;

$stathatToken = 'ABC123'; // get it from https://www.stathat.com/access

$adapter = new GuzzleAdapter($client);
$stathat = new Grummfy\StatHat($adapter, $stathatToken);
var_dump($stathat->listAllStats());
```

Install
-------

[](#install)

```
composer require grummfy/stathat-read
composer require guzzlehttp/guzzle

```

By default, this library came with an implementation of the AdapterInterface made for [Guzzle](http://docs.guzzlephp.org). If, for any reason, you don't want to use guzzle, just implements a new AdapterInterface.

Test
----

[](#test)

```
vendor/bin/atoum

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~17 days

Total

2

Last Release

3217d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/668804?v=4)[Grummfy](/maintainers/Grummfy)[@Grummfy](https://github.com/Grummfy)

---

Top Contributors

[![Grummfy](https://avatars.githubusercontent.com/u/668804?v=4)](https://github.com/Grummfy "Grummfy (8 commits)")

---

Tags

stathatstatsstatsstathat

### Embed Badge

![Health badge](/badges/grummfy-stathat-read/health.svg)

```
[![Health](https://phpackages.com/badges/grummfy-stathat-read/health.svg)](https://phpackages.com/packages/grummfy-stathat-read)
```

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.7k1.8M7](/packages/wnx-laravel-stats)[richjenks/stats

Statistics library for non-statistical people

23152.6k1](/packages/richjenks-stats)[cturbelin/rserve-php

Rserve client library for PHP

4435.0k](/packages/cturbelin-rserve-php)[magirc/magirc

MagIRC - Let the magirc begin!

371.1k](/packages/magirc-magirc)[beebmx/kirby-x-ray

X-Ray provides a comprehensive overview of the content present on your site and individual pages, allowing you to inspect and evaluate them at a glance.

121.1k](/packages/beebmx-kirby-x-ray)

PHPackages © 2026

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