haxibiao/matomo

哈希表matomo

安装: 14

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:项目

dev-master 2021-01-13 05:47 UTC

This package is auto-updated.

Last update: 2024-09-13 13:25:46 UTC


README

haxibiao/matomo 是哈希表matomo的通用封装 欢迎大家提交代码或提出建议

导语

环境要求

  1. 如果开启MATOMO_USE_SWOOLE, 需要当前服务器pecl install swoole然后service php-fpm restart

安装步骤

  1. composer.json修改如下:在repositories中添加vcs类型远程仓库指向 http://code.haxibiao.cn/packages/haxibiao-matomo
  2. 执行composer require haxibiao/matomo
  3. 如果不是laravel 5.6以上,需要执行php artisan matomo:install 来添加MatomoServiceProvider
  4. 需要 pecl instal swoole
  5. php artisan matomo:publish
  6. 在ops/workers/web下复制一个类似答赚和答妹下的conf文件,借助ops worker.sh 自动运行 php artisan matomo:proxy
  7. 完成

如何完成更新?

远程仓库的composer package发生更新时如何进行更新操作呢?

  1. 执行composer update haxibiao/matomo

GQL接口说明

API接口说明