PHPackages                             kairos/google-analytics-client-bundle - 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. kairos/google-analytics-client-bundle

ActiveLibrary[API Development](/categories/api)

kairos/google-analytics-client-bundle
=====================================

Symfony 2 bundle. Get data from google analytics

1.0.6(10y ago)17142LGPL-3.0PHPPHP &gt;=5.4.0

Since Oct 9Pushed 10y ago2 watchersCompare

[ Source](https://github.com/kairosagency/GoogleAnalyticsClientBundle)[ Packagist](https://packagist.org/packages/kairos/google-analytics-client-bundle)[ Docs](https://github.com/kairosagency/GoogleAnalyticsClientBundle)[ RSS](/packages/kairos-google-analytics-client-bundle/feed)WikiDiscussions master Synced 1mo ago

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

Google Analytics Client Bundle
==============================

[](#google-analytics-client-bundle)

[!\[Gitter\](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/kairosagency/GoogleAnalyticsClientBundle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://camo.githubusercontent.com/7c1e4922ad25c3938166745462197e3067eccbf0928a1e6c979d7829eda521bd/68747470733a2f2f7472617669732d63692e6f72672f6b6169726f736167656e63792f476f6f676c65416e616c7974696373436c69656e7442756e646c652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/kairosagency/GoogleAnalyticsClientBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d4086bb36a008da9b5a6c8574ab486cecc7b50b421624461dd7ccc6d6945db32/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6169726f736167656e63792f476f6f676c65416e616c7974696373436c69656e7442756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/kairosagency/GoogleAnalyticsClientBundle/?branch=develop)[![Code Coverage](https://camo.githubusercontent.com/9a9fa05171c28b41040560c264b863e9de41d08557f7ea39dc5ece321a558509/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b6169726f736167656e63792f476f6f676c65416e616c7974696373436c69656e7442756e646c652f6261646765732f636f7665726167652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/kairosagency/GoogleAnalyticsClientBundle/?branch=develop)[![SensioLabsInsight](https://camo.githubusercontent.com/3011de99b548234517d50921b785710c3da169c0d0ee8d3060215a07bc7ab3a6/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32333036626436342d643065362d343230662d626466312d3761376464326331313563332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/2306bd64-d0e6-420f-bdf1-7a7dd2c115c3)

This bundle provides a way to get google analytics data using the certificate-based authentication with google analytics.

Documentation
-------------

[](#documentation)

### Bundle setup

[](#bundle-setup)

Install the bundle via composer :

```
"require": {
    ...
    "kairos/google-analytics-client-bundle": "1.0.0",
    ...
}
```

Register your bundle in your AppKernel.php

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Kairos\GoogleAnalyticsClientBundle\KairosGoogleAnalyticsClientBundle(),
            ...
        );
    ....
    }
}
```

Config for your config.yml :

```
kairos_google_analytics_client:
    gapi_id: xxx
    gapi_account: xxx
    oauth:
        client_email: xxx@xxx
        private_key: DIR/xxx.p12

```

### Usage

[](#usage)

[Usage](https://github.com/kairosagency/GoogleAnalyticsClientBundle/blob/master/Resources/doc/usage.md)

### Todos

[](#todos)

- Add Tests

License
-------

[](#license)

[Mozilla Public License 2.0](https://www.mozilla.org/MPL/2.0/)

Acknowledgements
----------------

[](#acknowledgements)

Thanks to [Widop Google Analytics Bundle](https://github.com/widop/google-analytics) where i've taken information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75.6% 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 ~45 days

Recently: every ~67 days

Total

7

Last Release

3958d ago

### Community

Maintainers

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

---

Top Contributors

[![Matthiew](https://avatars.githubusercontent.com/u/1763663?v=4)](https://github.com/Matthiew "Matthiew (31 commits)")[![t0k4rt](https://avatars.githubusercontent.com/u/498106?v=4)](https://github.com/t0k4rt "t0k4rt (9 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

clientgoogle-analyticsphp-gaga collect data

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kairos-google-analytics-client-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kairos-google-analytics-client-bundle/health.svg)](https://phpackages.com/packages/kairos-google-analytics-client-bundle)
```

###  Alternatives

[openai-php/client

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

5.8k22.6M232](/packages/openai-php-client)[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)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[zetaphor/reddit-api-client

Provides an interface to the API at reddit.com

722.7k](/packages/zetaphor-reddit-api-client)

PHPackages © 2026

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