Official PHP library for FLUZO https://www.fluzo.com


Keywords
php, json, http, rest, http client, api, client, web service, restful, sdk, class, requests, fluzo
License
LGPL-2.1-only

Documentation

fluzo-sdk-php

A PHP SDK for server-side integration with FLUZO automatic content recognition and content intelligence services.

Installation.

Use composer. Add the package fluzo-tech/fluzo-sdk-php to your composer.json file:

{
    "require": {
        "fluzo-tech/fluzo-sdk-php": "*"
    }
}

and install the new dependency to your project:

php composer.phar install

Then you can setup the SDK and use it in your code:

<?php

require '../vendor/autoload.php'; // Wherever you have the vendor folder.

use Fluzo\Fluzo;

$apiKey = '< your api key >';
$settingsFolder = '/path/to/a/writable/folder';
$fluzo = new Fluzo($apiKey, $settingsFolder);

You must provide a valid API key and a writable path where FLUZO can store its settings (the default value is '.').

Requirements.

The FLUZO SDK requires php-curl-class.

Quick start and examples.

See examples/examples.php in the downloaded package.