PHPackages                             snowplow/snowplow-tracker - 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. snowplow/snowplow-tracker

ActiveLibrary

snowplow/snowplow-tracker
=========================

Snowplow event tracker for PHP. Add analytics into your PHP apps and scripts

0.9.2(1y ago)371.7M—2.9%39[5 issues](https://github.com/snowplow/snowplow-php-tracker/issues)[1 PRs](https://github.com/snowplow/snowplow-php-tracker/pulls)2Apache-2.0PHPPHP &gt;=8.1CI passing

Since Sep 30Pushed 6mo ago17 watchersCompare

[ Source](https://github.com/snowplow/snowplow-php-tracker)[ Packagist](https://packagist.org/packages/snowplow/snowplow-tracker)[ Docs](https://snowplow.io/)[ RSS](/packages/snowplow-snowplow-tracker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (23)Used By (2)

PHP Analytics for Snowplow
==========================

[](#php-analytics-for-snowplow)

[![early-release](https://camo.githubusercontent.com/83cfd32eef2e92c831bbb3cf67af564d7afd0dcf0c5150d577668bda9d11a754/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f7374796c653d666c6174266c6162656c3d536e6f77706c6f77266d6573736167653d4561726c7925323052656c6561736526636f6c6f723d303134343737266c6162656c436f6c6f723d396261306161266c6f676f3d646174613a696d6167652f706e673b6261736536342c6956424f5277304b47676f414141414e5355684555674141414241414141415143414d414141416f4c513954414141416546424d5645564d61584758414e6559414e6558414e5a62414a6d58414e6555414e5351414d2b58414e654d414d7061414a685a414a655a414e6958414e6158414e614f414d3257414e566e414b5758414e5a39414c746d414b5661414a6d58414e5a61414a6c58414a5a64414a7861414a6c5a414a6462414a6c62414a6d51414d2b55414e4b5a414e6868414a2b45414c2b42414c396f414b5a6e414b566a414b4631414c4e4264384a31414141414b485253546c4d4161316857587974654254514a49457752675568324a6a4a6f6e3231776342674e666d632b4a6c4f42516a77657a5746326c3564587a6b57332f7741414148704a52454655654e6f6b68514f434131454178544c38356869376458762f45355950435942713544654e347063715631586274572f7854564d494d415a453063424845615a68426d49517743466f66657072505548716a6d442f2b3770657a74643632645751526b7672516179586b6e3031662f67577032437278666a593772635a35563744454d4451676d456f7a46705a714c555944734e774f71626e4d4c7750414a4577436f705a784b74744141414141456c46546b5375516d4343)](https://docs.snowplow.io/docs/collecting-data/collecting-from-own-applications/tracker-maintenance-classification/)[![Build Status](https://github.com/snowplow/snowplow-php-tracker/workflows/ci/badge.svg?branch=master)](https://github.com/snowplow/snowplow-php-tracker/actions)[![Coverage Status](https://camo.githubusercontent.com/f9356107ca47a65080c8b32b2f6aa48055cef9319dd875ab1fc50245f12d35ac/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f736e6f77706c6f772f736e6f77706c6f772d7068702d747261636b65722f6d6173746572)](https://coveralls.io/github/snowplow/snowplow-php-tracker?branch=master)[![License](https://camo.githubusercontent.com/e617ea8ccc3a1bed22fe37c7ebd7cb3f6a400c0bbdd5834fbf946b9d32c927f4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4170616368652d2d322d626c75652e7376673f7374796c653d666c6174)](https://www.apache.org/licenses/LICENSE-2.0)

[![Latest Stable Version](https://camo.githubusercontent.com/c0c8ac7a5bb609003421cccb516506b0944d91fbdc9fe51702db944e50a4b70a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736e6f77706c6f772f736e6f77706c6f772d747261636b6572)](https://packagist.org/packages/snowplow/snowplow-tracker)[![PHP_Version](https://camo.githubusercontent.com/aa7cfff97b3f1286b1b3c0fdd11096f80c8a7a12698fd3ecb94f9d99b9dfba25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736e6f77706c6f772f736e6f77706c6f772d747261636b6572)](https://packagist.org/packages/snowplow/snowplow-tracker)[![Total Downloads](https://camo.githubusercontent.com/e5f0f37214e0f3ac1dec503021213856e52548cf5117facf79759e1cdfb0c3f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f736e6f77706c6f772f736e6f77706c6f772d747261636b6572)](https://packagist.org/packages/snowplow/snowplow-tracker)

Overview
--------

[](#overview)

Add analytics into your PHP apps and scripts with the **[Snowplow](https://snowplow.io/)** event tracker for **[PHP](https://php.net/)**.

With this tracker you can collect event data from your PHP based applications, games and frameworks.

Quickstart &amp; Testing
------------------------

[](#quickstart--testing)

Make sure `docker` &amp; `docker-compose` are installed.

- `git clone git@github.com:snowplow/snowplow-php-tracker.git`
- `cd snowplow-php-tracker`
- `docker-compose run --rm snowplow composer.phar install`
- `docker-compose run --rm snowplow script/tests.sh`

Find out more
-------------

[](#find-out-more)

**[Technical Docs](https://docs.snowplow.io/docs/collecting-data/collecting-from-own-applications/php-tracker/)****[Contributing](https://github.com/snowplow/snowplow-php-tracker/blob/master/CONTRIBUTING.md)**[![i1](https://camo.githubusercontent.com/a17680c0cd1235e038bbe758f228f97227c15073eab59de78b375e5ea77bd23d/68747470733a2f2f64336936666d7331636d316a30692e636c6f756466726f6e742e6e65742f6769746875622f696d616765732f74656368646f63732e706e67)](https://camo.githubusercontent.com/a17680c0cd1235e038bbe758f228f97227c15073eab59de78b375e5ea77bd23d/68747470733a2f2f64336936666d7331636d316a30692e636c6f756466726f6e742e6e65742f6769746875622f696d616765732f74656368646f63732e706e67)[![i3](https://camo.githubusercontent.com/c6cb5c4b798a5d4072374224a29fd3b487f4ae9843fb3fc71a111edff1055f0f/68747470733a2f2f64336936666d7331636d316a30692e636c6f756466726f6e742e6e65742f6769746875622f696d616765732f636f6e747269627574696e672e706e67)](https://camo.githubusercontent.com/c6cb5c4b798a5d4072374224a29fd3b487f4ae9843fb3fc71a111edff1055f0f/68747470733a2f2f64336936666d7331636d316a30692e636c6f756466726f6e742e6e65742f6769746875622f696d616765732f636f6e747269627574696e672e706e67)Copyright and license
---------------------

[](#copyright-and-license)

The Snowplow PHP Tracker is copyright 2014-2022 Snowplow Analytics Ltd.

Licensed under the **[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)** (the "License"); you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance56

Moderate activity, may be stable

Popularity54

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity71

Established project with proven stability

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

Recently: every ~36 days

Total

20

Last Release

378d ago

PHP version history (3 changes)0.3.0-rc2PHP &gt;=7.2

0.5.0PHP &gt;=7.4

0.9.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/386a93ffbd20a2fde7d6269b0fca30b3d7a2062fce878c7ef945a77b4dbd1c4f?d=identicon)[snowplow](/maintainers/snowplow)

---

Top Contributors

[![jbeemster](https://avatars.githubusercontent.com/u/7984544?v=4)](https://github.com/jbeemster "jbeemster (64 commits)")[![matus-tomlein](https://avatars.githubusercontent.com/u/42166?v=4)](https://github.com/matus-tomlein "matus-tomlein (17 commits)")[![adatzer](https://avatars.githubusercontent.com/u/35838196?v=4)](https://github.com/adatzer "adatzer (15 commits)")[![alexanderdean](https://avatars.githubusercontent.com/u/200511?v=4)](https://github.com/alexanderdean "alexanderdean (11 commits)")[![oguzhanunlu](https://avatars.githubusercontent.com/u/4786472?v=4)](https://github.com/oguzhanunlu "oguzhanunlu (7 commits)")[![mscwilson](https://avatars.githubusercontent.com/u/10324709?v=4)](https://github.com/mscwilson "mscwilson (7 commits)")[![Jack-Keene](https://avatars.githubusercontent.com/u/87364579?v=4)](https://github.com/Jack-Keene "Jack-Keene (6 commits)")[![greg-el](https://avatars.githubusercontent.com/u/45019882?v=4)](https://github.com/greg-el "greg-el (5 commits)")[![mlively](https://avatars.githubusercontent.com/u/176150?v=4)](https://github.com/mlively "mlively (2 commits)")[![patofp](https://avatars.githubusercontent.com/u/6108743?v=4)](https://github.com/patofp "patofp (1 commits)")[![paulboocock](https://avatars.githubusercontent.com/u/8820009?v=4)](https://github.com/paulboocock "paulboocock (1 commits)")[![TijmenWierenga](https://avatars.githubusercontent.com/u/8513032?v=4)](https://github.com/TijmenWierenga "TijmenWierenga (1 commits)")[![XWB](https://avatars.githubusercontent.com/u/1032281?v=4)](https://github.com/XWB "XWB (1 commits)")[![angsmugmug](https://avatars.githubusercontent.com/u/7295366?v=4)](https://github.com/angsmugmug "angsmugmug (1 commits)")[![bradgarropy](https://avatars.githubusercontent.com/u/11336745?v=4)](https://github.com/bradgarropy "bradgarropy (1 commits)")[![cksnp](https://avatars.githubusercontent.com/u/55377146?v=4)](https://github.com/cksnp "cksnp (1 commits)")[![daviddeng2100](https://avatars.githubusercontent.com/u/7392252?v=4)](https://github.com/daviddeng2100 "daviddeng2100 (1 commits)")[![EricTendian](https://avatars.githubusercontent.com/u/498525?v=4)](https://github.com/EricTendian "EricTendian (1 commits)")[![jethron](https://avatars.githubusercontent.com/u/1646397?v=4)](https://github.com/jethron "jethron (1 commits)")[![kaurov](https://avatars.githubusercontent.com/u/2579907?v=4)](https://github.com/kaurov "kaurov (1 commits)")

---

Tags

analyticssnowplowevent analytics

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/snowplow-snowplow-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/snowplow-snowplow-tracker/health.svg)](https://phpackages.com/packages/snowplow-snowplow-tracker)
```

###  Alternatives

[spatie/laravel-analytics

A Laravel package to retrieve Google Analytics data.

3.2k5.7M57](/packages/spatie-laravel-analytics)[segmentio/analytics-php

Segment Analytics PHP Library

25621.5M25](/packages/segmentio-analytics-php)[matomo/matomo-php-tracker

PHP Client for Matomo Analytics Tracking API

2213.1M16](/packages/matomo-matomo-php-tracker)[zumba/amplitude-php

PHP SDK for Amplitude

409.5M5](/packages/zumba-amplitude-php)

PHPackages © 2026

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