rdorado/site-analyzer 问题修复 & 功能扩展

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

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

rdorado/site-analyzer

Composer 安装命令:

composer require rdorado/site-analyzer

包简介

Analyze a php-based website with minimum configuration. Features include: hit counter, user analysis, ab tests, and user profiling.

README 文档

README

MIT License Scrutinizer Quality Score Build Status

SiteAnalyzer is a free package for analyzing PHP sites. With SiteAnalyzer, it is possible to count pages, understand user behavior, analyze site dynamic, and perform A/B testings. SiteAnalyzer can be installed into any PHP in seconds without affecting the bussiness logic of the application and customized according to the needs.

Features

  • Click counter
  • Site dynamics analysis
  • User profile analysis
  • A/B testing

Installation

SiteAnalyzer can be installed through Composer:

$ composer require rdorado/site-analyzer

Or modify your composer.json requirements:

    "require": {
        "rdorado/site-analyzer": "^0.1.1"
    }

and update your project:

$ composer update

Usage

Count all the views/pages you want to observe by importing the SiteAnalyzer class and then using the count static method:

use SiteAnalyzer\SiteAnalyzer;

SiteAnalyzer::count();

You can also include other options to be stored on the database. That depends on the kind of reportings or analyzis you want to perform:

$options = ['id' = $myid];
SiteAnalyzer::count($options);

Reporting/Displaying the stored information

Once you have started to count the page hits, different sort of reports can be displayed. For example, a very basic report is the number of hits per page stored on the database:

$data = SiteAnalyzer::getStats();
print( SiteAnalyzer::transform($data, "html") );

Documentation

Read the docs at https://site-analyzer.readthedocs.io/en/latest/.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固