PHPackages                             ekremogul/filament-google-analytics-realtime - 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. ekremogul/filament-google-analytics-realtime

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

ekremogul/filament-google-analytics-realtime
============================================

This is my package filament-google-analytics-realtime

v1.0.1(2y ago)13682[2 PRs](https://github.com/ekremogul/filament-google-analytics-realtime/pulls)MITPHPPHP ^8.1

Since Nov 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ekremogul/filament-google-analytics-realtime)[ Packagist](https://packagist.org/packages/ekremogul/filament-google-analytics-realtime)[ Docs](https://github.com/ekremogul/filament-google-analytics-realtime)[ RSS](/packages/ekremogul-filament-google-analytics-realtime/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (5)Used By (0)

This is my package filament-google-analytics-realtime
=====================================================

[](#this-is-my-package-filament-google-analytics-realtime)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6644105c914e6aef734871d9f0bd1a9f2b1fe1dd39ad3fb6480f3e4dfa2d328d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656b72656d6f67756c2f66696c616d656e742d676f6f676c652d616e616c79746963732d7265616c74696d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ekremogul/filament-google-analytics-realtime)[![GitHub Tests Action Status](https://camo.githubusercontent.com/294261bb8af43cdc57ed80ed423c68da34af17444924f53e35e84eedbf2542e8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f656b72656d6f67756c2f66696c616d656e742d676f6f676c652d616e616c79746963732d7265616c74696d652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/ekremogul/filament-google-analytics-realtime/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c0c361ee4dfc08a19dde3d50f84b95ad0775050ba885ca9c6d9cc7b789cebe89/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f656b72656d6f67756c2f66696c616d656e742d676f6f676c652d616e616c79746963732d7265616c74696d652f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/ekremogul/filament-google-analytics-realtime/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/039dc1599199faf28e139ce2f984ab6c12e82c35646e61f837b44c42c3fea5f2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656b72656d6f67756c2f66696c616d656e742d676f6f676c652d616e616c79746963732d7265616c74696d652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ekremogul/filament-google-analytics-realtime)

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

[](#installation)

You can install the package via composer:

```
composer require ekremogul/filament-google-analytics-realtime
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-google-analytics-realtime-config"
```

This is the contents of the published config file:

```
return [
    'view_id' => '',
    'key_file' => storage_path('app/analytics/service-account-credentials.json'),
    'interval' => '60s',
];
```

Important
=========

[](#important)

How to obtain the credentials to communicate with Google Analytics

[**Please follow the steps in spatie's description to get the view\_id and service-account-credentials.json files**](https://github.com/spatie/laravel-analytics#how-to-obtain-the-credentials-to-communicate-with-google-analytics)

Optionally, you can publish the translation

```
php artisan vendor:publish --tag="filament-google-analytics-realtime-translations"
```

Usage
-----

[](#usage)

Add to config/filament.php file

```
....
    'widgets' => [
        'namespace' => 'App\\Filament\\Widgets',
        'path' => app_path('Filament/Widgets'),
        'register' => [
            ....
            \Ekremogul\FilamentGoogleAnalyticsRealtime\Widgets\RealtimeAnalytics::class,
        ],
    ],
....
```

Testing
-------

[](#testing)

```
composer test
```

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)

- [Ekrem OĞUL](https://github.com/ekremogul)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

1083d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d79ce4282b6e5f201ab8436a1bcc003236d75057cdbb0d8ad73e2b1d9551a44?d=identicon)[ekremogul](/maintainers/ekremogul)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![ekremogul](https://avatars.githubusercontent.com/u/4357998?v=4)](https://github.com/ekremogul "ekremogul (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravelekremogulfilament-google-analytics-realtime

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ekremogul-filament-google-analytics-realtime/health.svg)

```
[![Health](https://phpackages.com/badges/ekremogul-filament-google-analytics-realtime/health.svg)](https://phpackages.com/packages/ekremogul-filament-google-analytics-realtime)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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