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)2157.2k↓50%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 1mo ago

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 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

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

4697d 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

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[irazasyed/laravel-gamp

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

3361.6M1](/packages/irazasyed-laravel-gamp)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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