carloscsrm/googleanalytics 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

carloscsrm/googleanalytics

最新稳定版本:v2.0.0

Composer 安装命令:

composer require carloscsrm/googleanalytics

包简介

Use google analytics in Laravel 4.

README 文档

README

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

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

Installation

  1. Add carloscsrm/googleanalytics to composer.json.

"carloscsrm/googleanalytics": "1.1.*"

  1. Run composer update to pull down the latest version of Google Analytics package.

  2. Now open up app/config/app.php and add the service provider to your providers array.

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

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

Configuration

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

Usage

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

{{Googleanalytics::render()}}

统计信息

  • 总下载量: 43
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-01