开时科技/ / google-analytics-client-bundle
Symfony 2 组件。从 Google Analytics 获取数据
1.0.6
2015-07-08 16:21 UTC
Requires
- php: >=5.4.0
- doctrine/cache: ~1.3
- guzzle/guzzle: ~3.0
- symfony/framework-bundle: ~2.1
Requires (Dev)
- phpunit/phpunit: ~4.2
This package is not auto-updated.
Last update: 2024-09-14 16:07:42 UTC
README

此组件提供了一种使用基于证书的认证从 Google Analytics 获取数据的方法。
文档
组件配置
通过 composer 安装组件
"require": { ... "kairos/google-analytics-client-bundle": "1.0.0", ... }
在 AppKernel.php 中注册您的组件
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( ... new Kairos\GoogleAnalyticsClientBundle\KairosGoogleAnalyticsClientBundle(), ... ); .... } }
配置您的 config.yml
kairos_google_analytics_client:
gapi_id: xxx
gapi_account: xxx
oauth:
client_email: xxx@xxx
private_key: DIR/xxx.p12
使用方法
待办事项
- 添加测试
许可证
致谢
感谢 Widop Google Analytics Bundle,我从那里获取了信息。