PHPackages                             fourlabs/gamp-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. fourlabs/gamp-bundle

ActiveSymfony-bundle[API Development](/categories/api)

fourlabs/gamp-bundle
====================

Google Analytics Measurement Protocol bundle for Symfony

2.5.0(6y ago)31430.6k↓42.2%14[3 issues](https://github.com/fourlabsldn/GampBundle/issues)[1 PRs](https://github.com/fourlabsldn/GampBundle/pulls)MITPHPPHP &gt;=5.5CI failing

Since Jun 6Pushed 4y ago3 watchersCompare

[ Source](https://github.com/fourlabsldn/GampBundle)[ Packagist](https://packagist.org/packages/fourlabs/gamp-bundle)[ Docs](https://fourlabs.co.uk)[ RSS](/packages/fourlabs-gamp-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (3)Versions (11)Used By (0)

GAMP Bundle
===========

[](#gamp-bundle)

Google Analytics Measurement Protocol Package for Symfony. Supports all GA Measurement Protocol API methods.

[![Build Status](https://camo.githubusercontent.com/f4d6db34f39388cd9e7b75c1785bbcb8f3ecb5ab258364cf6a8cb5b8de227144/68747470733a2f2f7472617669732d63692e6f72672f666f75726c6162736c646e2f47616d7042756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fourlabsldn/GampBundle)[![StyleCI](https://camo.githubusercontent.com/08c182f9b12329f7980bc105ace55a05b72a022074b012cc1c446afbd4679b79/68747470733a2f2f7374796c6563692e696f2f7265706f732f34313336333630322f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/41363602)[![Total Downloads](https://camo.githubusercontent.com/7a20503b7030a2dbd511bacace320ac20f0fff82dddbf8daae5ace7d3845f83a/68747470733a2f2f706f7365722e707567782e6f72672f666f75726c6162732f67616d702d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/fourlabs/gamp-bundle)[![License](https://camo.githubusercontent.com/e0fa2ebe20ed28c630f8eaa27ce971a9aea285434b44ed030715373516c0fb79/68747470733a2f2f706f7365722e707567782e6f72672f666f75726c6162732f67616d702d62756e646c652f6c6963656e7365)](https://packagist.org/packages/fourlabs/gamp-bundle)[![SensioLabsInsight](https://camo.githubusercontent.com/9d495ce118eaccc5685093d728e53db3beaeaf384dcedec9b16f4edf377566bc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36356136363566352d643836382d343065342d396365652d3139383139353866303138612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/65a665f5-d868-40e4-9cee-1981958f018a)

Installation
------------

[](#installation)

### Download the Bundle

[](#download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

```
$ composer require fourlabs/gamp-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

### Compatibility with Guzzle 5 and 6

[](#compatibility-with-guzzle-5-and-6)

If you are using PHP 5.5 or above and Guzzle 6 then:

```
{
    "require": {
        "fourlabs/gamp-bundle": "^2.0"
    }
}

```

Or if you are using PHP 5.4 or above and Guzzle 5 then:

```
{
    "require": {
        "fourlabs/gamp-bundle": "^1.1"
    }
}

```

### Enable the Bundle

[](#enable-the-bundle)

Then, enable the bundle by adding the following line in the *app/AppKernel.php* file of your project:

```
