PHPackages                             wowworks/dadata-suggestions - 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. wowworks/dadata-suggestions

ActiveLibrary[API Development](/categories/api)

wowworks/dadata-suggestions
===========================

Integration with Dadata suggestions API.

v1.0.0(5mo ago)01.1k—9.8%1MITPHPPHP &gt;=5.6.0

Since Feb 3Pushed 5mo agoCompare

[ Source](https://github.com/wowworks-team/dadata-suggestions)[ Packagist](https://packagist.org/packages/wowworks/dadata-suggestions)[ RSS](/packages/wowworks-dadata-suggestions/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (1)

DadataSuggestions
=================

[](#dadatasuggestions)

Integration with Dadata suggestions API.

[![License](https://camo.githubusercontent.com/0828908d05af9c36051f88aa504fcad4401a07a3a287081d5f6ac8c6568dfa84/68747470733a2f2f706f7365722e707567782e6f72672f676c656e64656d6f6e2f6461646174612d73756767657374696f6e732f6c6963656e7365)](https://packagist.org/packages/glendemon/dadata-suggestions)[![Code Coverage Badge](./badge.svg)](./badge.svg)

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

[](#installation)

This extension is available at packagist.org and can be installed via composer by following command:

`composer require glendemon/dadata-suggestions`

Configuration
-------------

[](#configuration)

You can customize debug panel behavior with this options:

- `token` - private api token \[required\].
- `url` - path to suggestions api \[optional\].
- `client` - GuzzleHttp\\Client \[optional\].

Example:

```
$service = new \DadataSuggestions\DadataSuggestionsService();
$service->setUrl('https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/');
$service->setToken('...');
```

```
    public function testSuggestAddressFlat()
    {
        $service = $this->getService();
        $response = $service->suggestAddress('мск балтийская 6к1 5');
        foreach ($response->getSuggestions() as $suggestion) {
            $this->assertEquals('г Москва, ул Балтийская, д 6 к 1, кв 5', $suggestion->getValue());
            $this->assertEquals('г Москва, ул Балтийская, д 6 к 1, кв 5', $suggestion->getUnrestrictedValue());
            $data = $suggestion->getData();
            $this->assertInstanceOf(\DadataSuggestions\Data\Address::class, $data);
            $this->assertEquals('Россия', $data->country);
            $this->assertEquals('Москва', $data->city);
            $this->assertEquals('ул Балтийская', $data->street_with_type);
            $this->assertEquals('6', $data->house);
            $this->assertEquals('1', $data->block);
            $this->assertEquals('5', $data->flat);
        }
    }

    /**
     * @return \DadataSuggestions\DadataSuggestionsService
     */
    protected function getService()
    {
        $service = new \DadataSuggestions\DadataSuggestionsService();
        $service->setToken('...');
        return $service;
    }
```

Links
-----

[](#links)

[API documentation](https://dadata.ru/api/suggest/)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance73

Regular maintenance activity

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 61.3% 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

150d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b00a1b181f1da3ddd7f208b541a0b37db0fe8a7504b75fd8fd9d588cf3f53e98?d=identicon)[wowworks](/maintainers/wowworks)

---

Top Contributors

[![arslanim](https://avatars.githubusercontent.com/u/22678154?v=4)](https://github.com/arslanim "arslanim (73 commits)")[![sg4tech](https://avatars.githubusercontent.com/u/3677021?v=4)](https://github.com/sg4tech "sg4tech (26 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (20 commits)")

---

Tags

apiDaDatasuggestions

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wowworks-dadata-suggestions/health.svg)

```
[![Health](https://phpackages.com/badges/wowworks-dadata-suggestions/health.svg)](https://phpackages.com/packages/wowworks-dadata-suggestions)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[hflabs/dadata

Data cleansing, enrichment and suggestions via Dadata API

1091.4M9](/packages/hflabs-dadata)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[bushlanov-dev/max-bot-api-client-php

Max Bot API Client library

486.3k](/packages/bushlanov-dev-max-bot-api-client-php)

PHPackages © 2026

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