PHPackages                             bdus-db/bdus-api-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bdus-db/bdus-api-php-client

ActiveLibrary[API Development](/categories/api)

bdus-db/bdus-api-php-client
===========================

A simple to use PHP client for Bradypus API

1.0.0(4y ago)05ISCPHPPHP 7.1.0

Since Nov 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bdus-db/BdusApiPhpClient)[ Packagist](https://packagist.org/packages/bdus-db/bdus-api-php-client)[ Docs](https://github.com/bdus-db/BdusApiPhpClient)[ RSS](/packages/bdus-db-bdus-api-php-client/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

BdusApiPhpClient
================

[](#bdusapiphpclient)

An open source client, written in PHP, to interact with a [BraDypUS](https://github.com/jbogdani/BraDypUS) API database.

This library is just a thin wrapper arount the BraDypUS API, wich is fully documented at [docs.bdus.cloud/api/](https://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
-----------------

[](#table-of-contents)

- [Install and setup](#install-and-setup)
- [Initialize the class](#initialize-the-class)
- [Get API (BradypUS) version](#get-api-bradypus-version)
- [Get Unique values for a column](#get-unique-values-for-a-column)
- [Get Unique values for a column, with suggestion](#get-unique-values-for-a-column-with-suggestion)
- [Get Unique values for a column, with filter and suggestion](#get-unique-values-for-a-column-with-filter-and-suggestion)
- [Inspect database configuration](#inspect-database-configuration)
- [Inspect single table configuration](#inspect-single-table-configuration)
- [Search by providing an array](#search-by-providing-an-array)
- [Search by providing an array and pagination](#search-by-providing-an-array-and-pagination)
- [Search by providing ShortSQL](#search-by-providing-shortsql)
- [Search by providing ShortSQL and pagination](#search-by-providing-shortsql-and-pagination)
- [Get one record by ID](#get-one-record-by-id)

---

Usage
-----

[](#usage)

### Install and setup

[](#install-and-setup)

BdusApiPhoClient can be installed via Composer or manually. Via Composer, require and download the library

```
composer require bdus-db/bdus-api-php-client
```

And then load it via Autoloader:

```
