PHP Classes

Apache Logs Reader: Parsing and processing Apache log files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 4,995 All time: 538 This week: 45Up
Version License Categories
apachelogsreader 1.0.0Freely DistributableStatistics, Logging
Description 

Author

This package is meant to parse and process Apache log files. It supports arbitrary Apache log formats, but it already comes with built in definitions to specify the formats: common, combined, referer and agent.

There is a base class that parses and extracts information from the log lines. This class may be extended by a sub-class to process the logs to generate specific statistics data.

This package comes with the sub-class ApacheLogVisits as an example of extended class that is meant for counting page views and site vistors.

Picture of Pascal Toussaint
Name: Pascal Toussaint <contact>
Classes: 6 packages by
Country: France France
Age: 58
All time rank: 847 in France France
Week rank: 170 Down9 in France France Down

  Files folder image Files (3)  
File Role Description
Plain text file class.apache.logs.reader.php Class The ApacheLogsReader base class and the ApacheLogVisits extended class
Accessible without login Plain text file HOWTO Doc. How to use the class
Accessible without login Plain text file test_logsreader.php Example ApacheLogVisits example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,995
This week:0
All time:538
This week:45Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:57%StarStarStar
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1699