This library is intended for working with PHP 5.2+
<?php
$manager = UpCloo_Manager::getInstance();
//Setting up credentials
$manager->setCredential("en-xx00XXxxx");
//Get correlation of the indexed content
$manager->get("http://www.domain.tld/folder/content.html");
See wiki pages for more information.
This library provides a simple autoloader. You can
require for UpCloo/Autoloader.php
. That's it. See this
running example:
<?php
require_once 'path/to/UpCloo/Autoloader.php';
//now the library is ready.
The UpCloo PHP Autoloader use a classmap method for links all dependencies.
First of all download the latest phar archive from the download section. After that you can use like this:
<?php
require_once 'upcloo-sdk.phar';
$manager = UpCloo_Manager::getInstance();
$manager->setCredential("it-xx00XXxxx");
Consider that the PHAR archive autoload all the library by it self.
If you want to run tests and get the reports of coverage you can
simply use the phpunit
.
For more information on phpunit
consider
the project page
$ phpunit