1.1.8 2016-11-03 13:02 UTC

This package is not auto-updated.

Last update: 2022-05-23 01:43:48 UTC


Active Query Builder Web API lets create, analyze and modify SQL queries for different database servers using RESTful HTTP requests to a cloud-based service. It requires SQL execution context (information about database schema and used database server) to be stored under the registered account at


PHP 5.4.0 and later

Manual Installation

Download the files and include autoload.php:


Getting Started

Please follow the installation procedure and then run the following:

require_once(__DIR__ . '/vendor/autoload.php');

$api = new WebApiActiveQueryBuilder\ActiveQueryBuilderApi();
$metadataGuid= "b3207f4f-b1f4-4dc2-979b-7724ed2d0221";
$sql = "Select customer_id, first_name From customer";

$query = new WebApiActiveQueryBuilder\SqlQuery(); // \WebApiActiveQueryBuilder\SqlQuery | Information about SQL query and it's context.

$columns = $api->getQueryColumnsPost($query);

$transform = new WebApiActiveQueryBuilder\Transform();

$filter = new WebApiActiveQueryBuilder\ConditionGroup();

$condition = new WebApiActiveQueryBuilder\Condition();


$page = new WebApiActiveQueryBuilder\Pagination();
$order = new WebApiActiveQueryBuilder\Sorting();


$result = $api->transformSqlPost($transform);

Documentation for API Endpoints

All URIs are relative to

Class Method HTTP request Description
ActiveQueryBuilderApi getQueryColumnsPost POST /getQueryColumns
ActiveQueryBuilderApi transformSQLPost POST /transformSQL

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.


Source code

Full source code of all clients for Active Query Builder Web API is available on GitHub. Get the source code of javascript here: