Wp-statpanel is a project mainly written in PHP, it's free.
Adds internal statistics to your admin section of Wordpress