thomaswelton/laravel-google-analytics

1,218 8
Install
composer require thomaswelton/laravel-google-analytics
PHP:>=5.3.0
Last Updated:Nov 14, 2013
Links: GitHub  ·  Packagist
Maintainer: thomaswelton

Build Status Latest Stable Version Total Downloads Bitdeli Badge

Installation

Update your composer.json file to include this package as a dependency

"thomaswelton/laravel-google-analytics": "dev-master"

Register the GoogleAnalytics service provider by adding it to the providers array in the app/config/app.php file.

Thomaswelton\LaravelGoogleAnalytics\LaravelGoogleAnalyticsServiceProvider

Alias the GoogleAnalytics facade by adding it to the aliases array in the app/config/app.php file.

'aliases' => array(
	'GoogleAnalytics' => 'Thomaswelton\LaravelGoogleAnalytics\Facades\GoogleAnalytics'
)

Configuration

Copy the config file into your project by running

php artisan config:publish thomaswelton/laravel-google-analytics

Edit the config file to include your account ID

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

384,821,166 4,658