2017 © Pedro Peláez
 

library bot-tracker

image

zedwoo/bot-tracker

  • Wednesday, December 18, 2013
  • by MichaelCgn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

bot-tracker

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

Installation

Make sure PHP >= 5.3.4 is available on your server., (*2)

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:, (*3)

"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"., (*4)

Git clone

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

How to use

You need a free account from splunkstorm ( https://www.splunkstorm.com/ ‎):, (*6)

Easy Logging:, (*7)

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

And Logging with 404-Pages, (*8)

$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 ;-), (*9)

Contributing

You want to help? It's so easy:, (*10)

  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

The Versions

18/12 2013

dev-master

9999999-dev https://github.com/zedwoo/bot-tracker

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-curl *

 

The Development Requires

by michael janssen

10/12 2013

v0.0.3

0.0.3.0 https://github.com/zedwoo/bot-tracker

  Sources   Download

MIT

The Requires

  • php >=5.3.3
  • ext-curl *

 

The Development Requires

by michael janssen