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

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

ismaelillodev/fathom-analytics
==============================

This is my package fathom-analytics

0294↓12.5%[1 PRs](https://github.com/ismaelilloDev/fathom-analytics/pulls)PHP

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ismaelilloDev/fathom-analytics)[ Packagist](https://packagist.org/packages/ismaelillodev/fathom-analytics)[ RSS](/packages/ismaelillodev-fathom-analytics/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Warning
=======

[](#warning)

This package is under development right now. Any suggestions are greatly appreciated!

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

[](#installation)

Install the package via composer:

```
composer require ismaelillodev/fathom-analytics:dev-main
```

Publish the config file with:

```
php artisan vendor:publish --tag="fathom-analytics-config"
```

Add your FATHOM\_ACCESS\_TOKEN variable to your .env

Usage
-----

[](#usage)

```
    use Ismaelillodev\FathomAnalytics\DTO\Aggregation;
    use Ismaelillodev\FathomAnalytics\FathomAnalytics;

    public function __construct(
            private FathomAnalytics $fathomAnalytics
    ){}

    public function handle()
    {
        $response = $this->fathomAnalytics->aggregations(
            new Aggregation(
                entity: 'pageview',
                entity_id: 'your_site_id',
                aggregates: 'uniques',
                field_grouping: 'hostname,pathname'
            ));
        //do something awesome with the response!
    }
```

Current features
----------------

[](#current-features)

If you have any questions about how to make a specific request you can visit the API documentation ().

### Aggregations

[](#aggregations)

Call the aggregations function and pass an Aggregation DTO.

```
    $this->fathomAnalytics->aggregations(
            new Aggregation(
                entity: 'pageview',
                entity_id: 'your_site_id',
                aggregates: 'visits',
    ));
```

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 Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [ismaelilloDev](https://github.com/ismaelillodev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 84.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ada99324b57ee8b6e8406d6641f8cc5f29c499814eb867263016589cc4fee131?d=identicon)[ismaelilloDev](/maintainers/ismaelilloDev)

---

Top Contributors

[![ismaelilloDev](https://avatars.githubusercontent.com/u/127984176?v=4)](https://github.com/ismaelilloDev "ismaelilloDev (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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