Download the PHP package bdus-db/bdus-api-php-client without Composer
On this page you can find all versions of the php package bdus-db/bdus-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bdus-api-php-client
BdusApiPhpClient
An open source client, written in PHP, to interact with a BraDypUS API database.
This library is just a thin wrapper arount the BraDypUS API, wich is fully documented at docs.bdus.cloud/api/.
A full example on how to use this library can be found in the test folder of this repository.
Table of Contents
- Install and setup
- Initialize the class
- Get API (BradypUS) version
- Get Unique values for a column
- Get Unique values for a column, with suggestion
- Get Unique values for a column, with filter and suggestion
- Inspect database configuration
- Inspect single table configuration
- Search by providing an array
- Search by providing an array and pagination
- Search by providing ShortSQL
- Search by providing ShortSQL and pagination
- Get one record by ID
Usage
Install and setup
BdusApiPhoClient can be installed via Composer or manually. Via Composer, require and download the library
And then load it via Autoloader:
For manual instalation, download the library and require it:
Initialize the class
Get API (BradypUS) version
Returns
Get Unique values for a column
Returns
Get Unique values for a column, with suggestion
Returns
Get Unique values for a column, with filter and suggestion
Returns
Inspect database configuration
Returns
Inspect single table configuration
Returns
Search by providing an array
Pay attention: search results are always paginated
Returns
Search by providing an array and pagination
Pay attention: search results are always paginated
Returns
Search by providing ShortSQL
This is actually the same query as the previous, provided as array
Search by providing ShortSQL and pagination
This is actually the same query as the previous, provided as array
Get one record by ID
Result: