PHPackages                             nikitaksv/apidq-client-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. nikitaksv/apidq-client-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

nikitaksv/apidq-client-php
==========================

PHP client for ApiDQ API

v1.0.0(4y ago)27Apache-2.0PHPPHP &gt;=7.4.0

Since Sep 26Pushed 4y ago2 watchersCompare

[ Source](https://github.com/nikitaksv/apidq-client-php)[ Packagist](https://packagist.org/packages/nikitaksv/apidq-client-php)[ Docs](https://apidq.io/)[ RSS](/packages/nikitaksv-apidq-client-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (20)Versions (2)Used By (0)

ApiDQ API PHP Client
====================

[](#apidq-api-php-client)

[![Latest Stable Version](https://camo.githubusercontent.com/d8459313283127bfbca011078281b32b3f87cb0c68c6e8eb7232915fffe113a3/687474703a2f2f706f7365722e707567782e6f72672f6e696b6974616b73762f61706964712d636c69656e742d7068702f76)](https://packagist.org/packages/nikitaksv/apidq-client-php)[![Total Downloads](https://camo.githubusercontent.com/f6a01df3561b64ceb63e36eed7d5570c38004c61a67673bd122a945e1cb713eb/687474703a2f2f706f7365722e707567782e6f72672f6e696b6974616b73762f61706964712d636c69656e742d7068702f646f776e6c6f616473)](https://packagist.org/packages/nikitaksv/apidq-client-php)[![Latest Unstable Version](https://camo.githubusercontent.com/56b62546a80c239eac80a1193bd1af88703dd61abbe4191981247601c546554d/687474703a2f2f706f7365722e707567782e6f72672f6e696b6974616b73762f61706964712d636c69656e742d7068702f762f756e737461626c65)](https://packagist.org/packages/nikitaksv/apidq-client-php)[![License](https://camo.githubusercontent.com/281af688e5e3a1e4bc6f403ca7d181860b2dda7bd95c00fdfceaac3e47b6fd9d/687474703a2f2f706f7365722e707567782e6f72672f6e696b6974616b73762f61706964712d636c69656e742d7068702f6c6963656e7365)](https://packagist.org/packages/nikitaksv/apidq-client-php)[![PHP Version Require](https://camo.githubusercontent.com/f266e83056300cdf20b4b60b8318c385558fe36f7d0b018c61b6307ad6d6984b/687474703a2f2f706f7365722e707567782e6f72672f6e696b6974616b73762f61706964712d636c69656e742d7068702f726571756972652f706870)](https://packagist.org/packages/nikitaksv/apidq-client-php)[![codecov](https://camo.githubusercontent.com/4f57223d350f0885926732ab40f7aaf6e0f5a11198df808715da295a2f90238b/68747470733a2f2f636f6465636f762e696f2f67682f6e696b6974616b73762f61706964712d636c69656e742d7068702f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d364d4e41423637534f4b)](https://codecov.io/gh/nikitaksv/apidq-client-php)

---

This is the PHP ApiDQ API client. This library allows using of the actual API version. You can find more info in the [documentation](https://docs.apidq.io).

Installation
------------

[](#installation)

Follow those steps to install the library:

1. Download and install [Composer](https://getcomposer.org/download/) package manager.
2. Install the library from the Packagist by executing this command:

```
composer require nikitaksv/apidq-client-php:"~1.0"
```

**Note:** API client uses `php-http/client-implementation` as a PSR-18, PSR-17 implementation. You can replace those implementations during installation by installing this library with the implementation of your choice, like this:

```
composer require symfony/http-client guzzlehttp/psr7 nikitaksv/apidq-client-php:"~1.0"
```

Usage
-----

[](#usage)

Firstly, you should initialize the Client. The easiest way to do this is to use the `SimpleClientFactory`:

```
$client = \ApiDQ\Factory\SimpleClientFactory::createClient('https://api.apidq.io', 'apiKey');
$client = \ApiDQ\Factory\SimpleClientFactory::createClientWithCache('https://api.apidq.io', 'apiKey', $psrCache);
$client = \ApiDQ\Factory\SimpleClientFactory::createClientWithFileCache('https://api.apidq.io', 'apiKey', sys_get_temp_dir());
```

The client is separated into several resource groups, all of which are accessible through the Client's public properties. You can call API methods from those groups like this:

```
$cleanResponse = $client->address->clean(
    (new \ApiDQ\Model\Service\Address\CleanRequest())
        ->setQuery('Москва')
        ->setCountryCode('RU')
);
```

To handle errors you must use two types of exceptions:

- `ApiDQ\Exception\Service\ServiceException` for the api service error.
- `ApiDQ\Exception\Client\BuilderException` for the client builder error.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1687d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63135af2a7f6e11d0df8756a2d584e5eeea2e084de82ab49904aa56176f12ff8?d=identicon)[nikitaksv](/maintainers/nikitaksv)

---

Top Contributors

[![nikitaksv](https://avatars.githubusercontent.com/u/26574756?v=4)](https://github.com/nikitaksv "nikitaksv (1 commits)")

---

Tags

apidqclientgeocodergeocodingphpsdksdk-phpapiclientsdkrestApidq

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nikitaksv-apidq-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/nikitaksv-apidq-client-php/health.svg)](https://phpackages.com/packages/nikitaksv-apidq-client-php)
```

###  Alternatives

[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[api-platform/serializer

API Platform core Serializer

223.4M31](/packages/api-platform-serializer)[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
