oscarotero/matomo-tracker
Composer 安装命令:
composer require oscarotero/matomo-tracker
包简介
A matomo-tracker url generator compatible with PSR-7
README 文档
README
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
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-12