PHPackages                             frank/php-ga-measurement-protocol - 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. frank/php-ga-measurement-protocol

ActiveLibrary[API Development](/categories/api)

frank/php-ga-measurement-protocol
=================================

Send data to Google Analytics from the server using PHP. This library fully implements GA measurement protocol.

2.9.1(3y ago)0119MITPHPPHP &gt;=8.1

Since Sep 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/frank1fr/php-ga-measurement-protocol)[ Packagist](https://packagist.org/packages/frank/php-ga-measurement-protocol)[ RSS](/packages/frank-php-ga-measurement-protocol/feed)WikiDiscussions master Synced 1mo ago

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

Google Analytics Measurement Protocol library for PHP
=====================================================

[](#google-analytics-measurement-protocol-library-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/a8f4db5714fccce1e35cecf3d0bbb4da94d1b33cb8649347b21bfba5d11684cb/68747470733a2f2f706f7365722e707567782e6f72672f6672616e6b2f7068702d67612d6d6561737572656d656e742d70726f746f636f6c2f762f737461626c65)](https://packagist.org/packages/frank/php-ga-measurement-protocol) [![Total Downloads](https://camo.githubusercontent.com/a4f35a702b5e4ebc864694e9e45a0811a6f4a4f6e87225ac366776eff9464c63/68747470733a2f2f706f7365722e707567782e6f72672f6672616e6b2f7068702d67612d6d6561737572656d656e742d70726f746f636f6c2f646f776e6c6f616473)](https://packagist.org/packages/frank/php-ga-measurement-protocol) [![License](https://camo.githubusercontent.com/d6397d0680ca1b21e86d38dea11384190638f3d6f1a41f4d31009fe178cd075f/68747470733a2f2f706f7365722e707567782e6f72672f6672616e6b2f7068702d67612d6d6561737572656d656e742d70726f746f636f6c2f6c6963656e7365)](https://packagist.org/packages/frank/php-ga-measurement-protocol) [![Documentation Status](https://camo.githubusercontent.com/0c80269a3177f80d2e8c816517b136b6977a46b2f2f6e04018e8477fb1edc704/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f7068702d67612d6d6561737572656d656e742d70726f746f636f6c2f62616467652f3f76657273696f6e3d6c6174657374)](http://php-ga-measurement-protocol.readthedocs.org/en/latest/)

Description
-----------

[](#description)

Send data to Google Analytics from the server using PHP. This library fully implements GA measurement protocol so its possible to send any data that you would usually do from analytics.js on the client side.

### More information

[](#more-information)

This package originated from:

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.1% 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 ~101 days

Recently: every ~459 days

Total

29

Last Release

1405d ago

Major Versions

v0.1.1 → v1.0.02015-01-30

v1.1.5 → v2.0.02015-07-03

v1.x-dev → v2.1.02015-07-18

PHP version history (3 changes)v0.1-alpha.0PHP &gt;=5.4

v2.0.0PHP &gt;=5.5

2.9.1PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![jorgeborges](https://avatars.githubusercontent.com/u/1531431?v=4)](https://github.com/jorgeborges "jorgeborges (280 commits)")[![frankflynter](https://avatars.githubusercontent.com/u/116003543?v=4)](https://github.com/frankflynter "frankflynter (6 commits)")[![alberto-bottarini](https://avatars.githubusercontent.com/u/1442934?v=4)](https://github.com/alberto-bottarini "alberto-bottarini (4 commits)")[![Nightbr](https://avatars.githubusercontent.com/u/4228646?v=4)](https://github.com/Nightbr "Nightbr (4 commits)")[![stefanzweifel](https://avatars.githubusercontent.com/u/1080923?v=4)](https://github.com/stefanzweifel "stefanzweifel (4 commits)")[![edim24](https://avatars.githubusercontent.com/u/6409091?v=4)](https://github.com/edim24 "edim24 (3 commits)")[![jfalcondb](https://avatars.githubusercontent.com/u/11094411?v=4)](https://github.com/jfalcondb "jfalcondb (3 commits)")[![baibaratsky](https://avatars.githubusercontent.com/u/1774061?v=4)](https://github.com/baibaratsky "baibaratsky (3 commits)")[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (2 commits)")[![rhrebecek](https://avatars.githubusercontent.com/u/1384186?v=4)](https://github.com/rhrebecek "rhrebecek (2 commits)")[![vntw](https://avatars.githubusercontent.com/u/502368?v=4)](https://github.com/vntw "vntw (1 commits)")[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (1 commits)")[![rafaelmonteiro](https://avatars.githubusercontent.com/u/1180413?v=4)](https://github.com/rafaelmonteiro "rafaelmonteiro (1 commits)")[![jonny-no1](https://avatars.githubusercontent.com/u/282458?v=4)](https://github.com/jonny-no1 "jonny-no1 (1 commits)")[![ryo88c](https://avatars.githubusercontent.com/u/77841?v=4)](https://github.com/ryo88c "ryo88c (1 commits)")[![amit0rana](https://avatars.githubusercontent.com/u/236212?v=4)](https://github.com/amit0rana "amit0rana (1 commits)")[![lombo](https://avatars.githubusercontent.com/u/495889?v=4)](https://github.com/lombo "lombo (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/frank-php-ga-measurement-protocol/health.svg)

```
[![Health](https://phpackages.com/badges/frank-php-ga-measurement-protocol/health.svg)](https://phpackages.com/packages/frank-php-ga-measurement-protocol)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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