tomasz-rup/sf-gemius-traffic-plugin
Composer 安装命令:
composer require tomasz-rup/sf-gemius-traffic-plugin
包简介
symfony 1.x plugin to add Gemius integration
README 文档
README
Easily add Gemius Traffic tracking code to your presentation layer.
Installation
-
Install plugin:
$ composer require tomasz-rup/sf-gemius-traffic-plugin
-
Add the
sfGemiusTrafficFilterto your filter chain:rendering: ~ security: ~ # insert your own filters here gemius_traffic: class: sfGemiusTrafficFilter cache: ~ common: ~ execution: ~
Configure
-
Enable plugin in your application's
app.ymlfile:all: gemius_traffic_plugin: enabled: true
-
Optionally set the position of Gemius Traffic code:
all: gemius_traffic_plugin: insertion: <?php echo sfGemiusTrafficTracker::POSITION_HEAD ?>
Note:
POSITION_HEADis the default position. -
set the action identifier in
module.yml:all: index: gemius_traffic: params: identifier: 4re4r.4s4d55d2r5ff5.g1
or set the module identifier:
all: gemius_traffic: params: identifier: 4re4r.4s4d55d2r5ff5.g1
Insertion positions
-
POSITION_HEADInsert in
<head> -
POSITION_BODY_TOPInsert as first element in
<body> -
POSITION_BODY_BOTTOM
Insert as last element in <body>
Note
Plugin code is fork of sfGoogleAnalyticsPlugin.
tomasz-rup/sf-gemius-traffic-plugin 适用场景与选型建议
tomasz-rup/sf-gemius-traffic-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 9 次下载、GitHub Stars 达 1, 最近一次更新时间为 2017 年 10 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「gemius」 「symfony1」 「symfony1-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tomasz-rup/sf-gemius-traffic-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tomasz-rup/sf-gemius-traffic-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tomasz-rup/sf-gemius-traffic-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The "Theodo Evolution Session Integration" bundle
Partial PSR-7 Adapters for Symfony 1.5
PHP Database ORM for Symfony1. Do NOT use for new projects: please move to a newest Symfony release and Doctrine2
Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance
Easily manage master and slave database connections
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-05