oscarotero/matomo-tracker 问题修复 & 功能扩展

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

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

oscarotero/matomo-tracker

Composer 安装命令:

composer require oscarotero/matomo-tracker

包简介

A matomo-tracker url generator compatible with PSR-7

README 文档

README

Build Status

Simple library to generate Matomo tracker urls that you can use to insert tracking images in your site. It's compatible with PSR-7 ServerRequestInterfaces

Requirements

  • PHP >= 7.0

Installation

This package is installable and autoloadable via Composer as oscarotero/matomo-tracker.

composer require oscarotero/matomo-tracker

Example

use MatomoTracker\Url;

$url = Url::createFromServerRequest($serverRequest, 'https://analytics.example.com/piwik.php', 1);

$url->title('Page title')
    ->userId($user->getId());

echo sprintf('<img src="%s">', (string) $url);

Please see CHANGELOG for more information about recent changes.

The MIT License (MIT). Please see LICENSE for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-12