PHPackages                             carloscsrm/googleanalytics - 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. carloscsrm/googleanalytics

AbandonedLibrary

carloscsrm/googleanalytics
==========================

Use google analytics in Laravel 4.

v2.0.0(10y ago)043MITPHPPHP &gt;=5.4.0

Since Feb 1Pushed 10y ago2 watchersCompare

[ Source](https://github.com/carlosrgzm/googleanalytics)[ Packagist](https://packagist.org/packages/carloscsrm/googleanalytics)[ RSS](/packages/carloscsrm-googleanalytics/feed)WikiDiscussions Laravel4 Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Google Analytics for Laravel 4
==============================

[](#google-analytics-for-laravel-4)

Plugin for Laravel 4 just to include Google Analytics script in your views

[![Build Status](https://camo.githubusercontent.com/f04b9f0827bf1adf10cb2eb2dedafe87676312bf0632cbe0022ca90a2ccca221/68747470733a2f2f7472617669732d63692e6f72672f6361726c6f7372677a6d2f676f6f676c65616e616c79746963732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/carlosrgzm/googleanalytics)[![Coverage Status](https://camo.githubusercontent.com/52f449d3e87eb05b0e285d777b668b81820e83603230abf37a4e46c4c74ed798/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6361726c6f7372677a6d2f676f6f676c65616e616c79746963732f62616467652e737667)](https://coveralls.io/r/carlosrgzm/googleanalytics)[![Latest Stable Version](https://camo.githubusercontent.com/df083e1d5d11b7048cd91cb4a1cb98bc580bc69731eca45e8690deb9c416ec1e/68747470733a2f2f706f7365722e707567782e6f72672f6361726c6f736373726d2f676f6f676c65616e616c79746963732f762f737461626c652e737667)](https://packagist.org/packages/carloscsrm/googleanalytics)[![Total Downloads](https://camo.githubusercontent.com/65f6c7357f6acebe92c0431e9d01954c20637755d80d0e505f7111582e6705ac/68747470733a2f2f706f7365722e707567782e6f72672f6361726c6f736373726d2f676f6f676c65616e616c79746963732f646f776e6c6f6164732e737667)](https://packagist.org/packages/carloscsrm/googleanalytics)[![Latest Unstable Version](https://camo.githubusercontent.com/12920032bef5fc310f7b6e3c95d338c5ad2a5c9a0ff9cea7bd16c8ee996377db/68747470733a2f2f706f7365722e707567782e6f72672f6361726c6f736373726d2f676f6f676c65616e616c79746963732f762f756e737461626c652e737667)](https://packagist.org/packages/carloscsrm/googleanalytics)[![License](https://camo.githubusercontent.com/5721f253821d382fa9b11ae31cd747f85034a359372a63174a5425efec56d75b/68747470733a2f2f706f7365722e707567782e6f72672f6361726c6f736373726d2f676f6f676c65616e616c79746963732f6c6963656e73652e737667)](https://packagist.org/packages/carloscsrm/googleanalytics)

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

[](#installation)

1. Add `carloscsrm/googleanalytics` to `composer.json`.

> "carloscsrm/googleanalytics": "1.1.\*"

2. Run composer update to pull down the latest version of Google Analytics package.
3. Now open up app/config/app.php and add the service provider to your providers array.

> 'providers' =&gt; array( 'Carloscsrm\\Googleanalytics\\GoogleanalyticsServiceProvider', ),

The Alias is automatically added by the system, you don't need add it manually. The alias is **Googleanalytics**

Configuration
-------------

[](#configuration)

Run `php artisan config:publish carloscsrm/googleanalytics` and modify the config file with your own Analytics ID.

Usage
-----

[](#usage)

For using this package you can add this code in your templates

`{{Googleanalytics::render()}}`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Total

4

Last Release

4014d ago

Major Versions

v1.1.1 → v2.0.02015-05-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1535695?v=4)[Carlos Rodríguez](/maintainers/carlosrgzm)[@carlosrgzm](https://github.com/carlosrgzm)

---

Top Contributors

[![carlosrgzm](https://avatars.githubusercontent.com/u/1535695?v=4)](https://github.com/carlosrgzm "carlosrgzm (32 commits)")

### Embed Badge

![Health badge](/badges/carloscsrm-googleanalytics/health.svg)

```
[![Health](https://phpackages.com/badges/carloscsrm-googleanalytics/health.svg)](https://phpackages.com/packages/carloscsrm-googleanalytics)
```

PHPackages © 2026

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