Download the PHP package requestlab/xiti-analytics without Composer
On this page you can find all versions of the php package requestlab/xiti-analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download requestlab/xiti-analytics
More information about requestlab/xiti-analytics
Files in requestlab/xiti-analytics
Package xiti-analytics
Short Description Xiti server-to-server interactions with ATInternet Xiti analytics REST API v2
License MIT
Informations about the package xiti-analytics
README
The RequestLab Xiti Analytics library provides a way to use the AT Internet Analytics Data Query API.
It's inspired by the Wid'op Google Analytics library
Documentation
Installation
To install the RequestLab Xiti Analytics library, you will need Composer. It's a PHP 5.3+ dependency manager which allows you to declare the dependent libraries your project needs and it will install & autoload them for you.
Set up Composer
Composer comes with a simple phar file. To easily access it from anywhere on your system, you can execute:
Define dependencies
Create a composer.json
file at the root directory of your project and simply require the
requestlab/xiti-analytics
package:
Install dependencies
Now, you have define your dependencies, you can install them:
Composer will automatically download your dependencies & create an autoload file in the vendor
directory.
Autoload
So easy, you just have to require the generated autoload file and you are already ready to play:
The RequestLab Xiti Analytics library follows the PSR-0 Standard. If you prefer install it manually, it can be autoload by any convenient autoloader.
Usage
Query
First, in order to request the ATInternet Analytics Query service, simply create a request and configure it according to your needs:
Client
A client allows you to request the service with your login and password.
Service
Response
The response is a RequestLab\XitiAnalytics\Response object which wraps all available informations:
Testing
The library is fully unit tested by PHPUnit. To execute the test suite, check the travis configuration.
Contribute
The library is open source, propose a PR!
License
The RequestLab Xiti Analytics library is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this
source code.