ins0 / zf2-analytics
ZF2 module for interacting with the Google-Measurement-PHP-Client library
1.0.0
2015-02-04 21:29 UTC
Requires
- php: >=5.5
- ins0/google-measurement-php-client: 2.0.*
This package is auto-updated.
Last update: 2024-11-11 16:57:05 UTC
README
ZF2 Module wrapper for the google-measurement-php-client library
Requirements
Installation
Install via Composer
In the require
key of composer.json
file add the following
"ins0/zf2-analytics": "1.0.*"
Or
php composer.phar require ins0/zf2-analytics:1.*
Copy-paste the zf2-analytics.global.php.dist
file to your autoload
folder, and enable the module by adding
Zf2Analytics
to your application.config.php
file.
Usage
use Racecore\GATracking\GATracking; $analytics = $serviceLocator->get(GATracking::class);