PHPackages                             beyondcode/fathom-api - 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. beyondcode/fathom-api

AbandonedArchivedLibrary[API Development](/categories/api)

beyondcode/fathom-api
=====================

Fathom Analytics API

1.1.0(4y ago)392.3k5MITPHPPHP ^7.3

Since Dec 18Pushed 4y ago3 watchersCompare

[ Source](https://github.com/beyondcode/fathom-analytics-api)[ Packagist](https://packagist.org/packages/beyondcode/fathom-api)[ Docs](https://github.com/beyondcode/fathom-api)[ RSS](/packages/beyondcode-fathom-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

The unofficial Fathom Analytics API
===================================

[](#the-unofficial-fathom-analytics-api)

This is an unofficial PHP SDK to get statistics out of Fathom Analytics, as long as it does not offer an official API.

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

[](#installation)

You can install the package via composer:

```
composer require beyondcode/fathom-api
```

Usage
-----

[](#usage)

```
$analytics = new BeyondCode\FathomAnalytics($email, $password);

$sites = $analytics->getSites();

$analytics->getCurrentVisitors($siteId);

// Returns the visitor data for today
$analytics->getData($siteId);

// Returns the visitor data for the whole week until today
$analytics->getData($siteId, Carbon::now()->startOfWeek());

// Returns the visitor data for two days ago until yesterday.
$analytics->getData($siteId, Carbon::now()->subDays(2), Carbon::now()->subDays(1));
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Marcel Pociot](https://github.com/mpociot)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~103 days

Total

3

Last Release

1768d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/863e91ca13b8c4031f202c0eee4f06b3a4352f92cf9cd397b03609b20247ed16?d=identicon)[beyondcode](/maintainers/beyondcode)

---

Top Contributors

[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (3 commits)")[![austinginder](https://avatars.githubusercontent.com/u/110346?v=4)](https://github.com/austinginder "austinginder (2 commits)")[![sschlein](https://avatars.githubusercontent.com/u/2911113?v=4)](https://github.com/sschlein "sschlein (1 commits)")

---

Tags

beyondcodefathom-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/beyondcode-fathom-api/health.svg)

```
[![Health](https://phpackages.com/badges/beyondcode-fathom-api/health.svg)](https://phpackages.com/packages/beyondcode-fathom-api)
```

###  Alternatives

[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[michaeldrennen/geonames

A Laravel (php) package that interfaces with the geolocation services on geonames.org.

9514.0k](/packages/michaeldrennen-geonames)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

9230.2k4](/packages/bitrix24-b24phpsdk)[afiqiqmal/malaysiaholiday

to get all holidays date in malaysia

329.0k](/packages/afiqiqmal-malaysiaholiday)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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