phiwik is a client wrapper for the Piwik API. Piwik has an extensive API that can be used to fetch any kind of analytics data. PHP-Piwik wraps the whole API in an object-oriented way..
Use Patent Claims
Include Install Instructions