Good open source PHP analysis / statistics software?

The URL abbreviation service that I create should display some basic click statistics for users: the number of clicks, conversions, link domains, and country (you can filter by date range). I might need more advanced statistics in the future.

Is there existing open source software that will allow me to pass events to it and then easily display a line or a graph of that row (for example, a line graph of "conversions" between two specified dates). It seems that something like this should exist and it would be much easier than building everything from scratch.

I know that there are graphical scripts, but I still need to format the data (usually as an XML file) and then transfer it to the graph. I am looking for something more complete that I can just feed events and then do the rest.

+2
source share
3 answers

For each type of software that I can create, you will need to generate the data you want to build.

At this point, you have two options:

  • Use a third-party solution for your statistics (e.g. Google Analytics )
  • Use the library to display your data graphically

The first solution will be easy to use, but it will not be flexible. The second will be a little more complicated (not too much), but you decide what to do and how.

I recently started an open source project to make diagramming easier with php. You might want to look at it.

+1
source

There are many packages that do what you want. Most Popular:

They all require a database connection (mainly MySQL) to collect and store data, which can be a performance issue when your service becomes popular.

One of the simpler file-based packages is

The possibilities of file solutions are usually more limited.

+6
source

AWStats is the best open source analytics and statistics software I've used. We recently moved away from AWStats and we use Google Analytics, but that is because we also use Google Adwords. AWStats is a great program.

+1
source

All Articles