zedwoo/bot-tracker 问题修复 & 功能扩展

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

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

zedwoo/bot-tracker

Composer 安装命令:

composer require zedwoo/bot-tracker

包简介

README 文档

README

#bot-tracker

PHP-Library for logging Google-Bot-Visits to splunkstorm ( it's free: https://www.splunkstorm.com/ )

##Installation Make sure PHP >= 5.3.4 is available on your server.

###With Composer If you are using composer ( http://getcomposer.org/ ), you will get the freshest version, adding this to the require-section in your composer.json:

"zedwoo/bot-tracker": "0.0.*"

###File-include If you don't like Composer, you can include a single file in your project. You will find it under "src/Zedwoo/BotTracker/BotTracker.php".

###Git clone If you want to use the dev-version with "git clone", i think, you know how to do it ;)

##How to use You need a free account from splunkstorm ( https://www.splunkstorm.com/ ‎):

Easy Logging:

$botLog = new \Zedwoo\BotTracker\BotTracker($splunkProjectId, $splunkAccessToken, $splunkApiHostname);
$botLog->doLog();

And Logging with 404-Pages

$botLog = new \Zedwoo\BotTracker\BotTracker($splunkProjectId, $splunkAccessToken, $splunkApiHostname);
if(is_404er){
$botLog->setRequestStatusCode(404);
}
$botLog->doLog();

You have to implement the "is_404er" by your own ;-)

##Contributing You want to help? It's so easy:

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-12-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固