PHPackages                             dandydev/gapi-php - 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. dandydev/gapi-php

ActiveLibrary[API Development](/categories/api)

dandydev/gapi-php
=================

Gapi-php is a new version of the Gapi-php class, for accessing Google Analytics accounts.

v1.6(12y ago)2557.4k↓67.9%8GPLPHPPHP &gt;=5.3.0

Since Apr 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/DandyDev/gapi-php)[ Packagist](https://packagist.org/packages/dandydev/gapi-php)[ Docs](http://dandydev.net)[ RSS](/packages/dandydev-gapi-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Gapi-php
========

[](#gapi-php)

This is an updated version of the Gapi-php class, for accessing Google Analytics accounts. It has updated API urls and I some fixed errors. Things that have changed:

- Made PHP5.3 compatible
- Put it under Composer package control
- Fixed the API endpoint URLs
- Fixed some bugs

The License is kept from the original. Please do realise that this class uses the *old* method for authenticating (eg. username &amp; password), which is *deprecated*. I cannot guarantee for how long Google will keep accepting requests in this way. If you have any comments, feel free to to mail me at: .

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

4743d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a202bb654faac44df9b00310b68b6024c2ac399c7a2d398cca73658d547ecee?d=identicon)[DandyDev](/maintainers/DandyDev)

---

Top Contributors

[![DonDebonair](https://avatars.githubusercontent.com/u/854991?v=4)](https://github.com/DonDebonair "DonDebonair (11 commits)")[![corpsee](https://avatars.githubusercontent.com/u/1416706?v=4)](https://github.com/corpsee "corpsee (6 commits)")[![KimPeeters](https://avatars.githubusercontent.com/u/3602510?v=4)](https://github.com/KimPeeters "KimPeeters (2 commits)")[![levofski](https://avatars.githubusercontent.com/u/1890796?v=4)](https://github.com/levofski "levofski (2 commits)")[![igorshubovych](https://avatars.githubusercontent.com/u/93907?v=4)](https://github.com/igorshubovych "igorshubovych (1 commits)")[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (1 commits)")

---

Tags

google-analytics2.4

### Embed Badge

![Health badge](/badges/dandydev-gapi-php/health.svg)

```
[![Health](https://phpackages.com/badges/dandydev-gapi-php/health.svg)](https://phpackages.com/packages/dandydev-gapi-php)
```

###  Alternatives

[irazasyed/laravel-gamp

Send analytics data to Google Analytics from Laravel. A package for GA Measurement Protocol API

3351.6M1](/packages/irazasyed-laravel-gamp)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[alexwestergaard/php-ga4

PHP Library for Google Analytics 4 with Server Side Tagging

64160.2k2](/packages/alexwestergaard-php-ga4)[happyr/google-analytics-bundle

The Google Analytics Bundle lets you send data (like event tracking) to Google.

49248.4k](/packages/happyr-google-analytics-bundle)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[gtmassey/laravel-analytics

Create and run Google Analytics Data API queries in Laravel

3871.4k](/packages/gtmassey-laravel-analytics)

PHPackages © 2026

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