PHPackages                             mrssoft/yii2-dadata - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrssoft/yii2-dadata

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

mrssoft/yii2-dadata
===================

Components for working with Dadata

1.1.1(2y ago)0421MITPHPPHP &gt;=7.1

Since May 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mrs2000/yii2-dadata)[ Packagist](https://packagist.org/packages/mrssoft/yii2-dadata)[ RSS](/packages/mrssoft-yii2-dadata/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

DaData Yii2 Input Widget
========================

[](#dadata-yii2-input-widget)

Components for working with Dadata

[![Latest Stable Version](https://camo.githubusercontent.com/379f29a5b841b6c56e863107eeed6d61a3a5d7a05e0cbb4a2608c424207b69d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7273736f66742f796969322d6461646174612e737667)](https://packagist.org/packages/mrssoft/yii2-dadata)[![PHP](https://camo.githubusercontent.com/f67352b81aab889332f7a42952e622b4d52611ca926465006474ae91548c5932/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d7273736f66742f796969322d6461646174612e737667)](https://camo.githubusercontent.com/f67352b81aab889332f7a42952e622b4d52611ca926465006474ae91548c5932/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d7273736f66742f796969322d6461646174612e737667)[![Github](https://camo.githubusercontent.com/5837db5db2afc4ab1d2f03b03852ed2e27fde1b93f939ba126dbe47c641f1c66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d7273323030302f796969322d6461646174612e737667)](https://camo.githubusercontent.com/5837db5db2afc4ab1d2f03b03852ed2e27fde1b93f939ba126dbe47c641f1c66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d7273323030302f796969322d6461646174612e737667)[![Total Downloads](https://camo.githubusercontent.com/e71f80795dc31c9165a4dd9477b6598a3d9af9c2eb56510be3c8c0dfdf77759e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d7273736f66742f796969322d6461646174612e737667)](https://camo.githubusercontent.com/e71f80795dc31c9165a4dd9477b6598a3d9af9c2eb56510be3c8c0dfdf77759e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d7273736f66742f796969322d6461646174612e737667)

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

### Installation

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/). Either run

```
php composer.phar require --prefer-dist mrssoft/yii2-dadata "*"

```

or add

```
"mrssoft/yii2-dadata": "*"

```

to the require section of your `composer.json` file.

### Usage

[](#usage)

```
echo DaDataInputWidget::widget([
    'name' => 'name',
    'options' => [
        'class' => 'form-control',
        'placeholder' => 'you placeholder'
    ],
    'clientOptions' => [
        'token' => 'you token',
        'count' => 5,
        'type' => DaDataInputWidget::TYPE_PARTY,
    ],
    'clientEvents' => [
        'onSelect' => new \yii\web\JsExpression('function (suggestion) {
            console.log(suggestion);
        }')
    ]
]);
```

```
$ipLocate = new DaDataIpLocate(['token' => '...']);

$response = $ipLocate->address();
//or
$response = $ipLocate->address($ip);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Every ~1093 days

Total

3

Last Release

742d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e69f6780ee8c8e5b2c10af66e1232ac3925766c6f2f83db1820f2ff9a590a62?d=identicon)[mrs2000](/maintainers/mrs2000)

---

Tags

yiiDaDatasuggestionsip locate

### Embed Badge

![Health badge](/badges/mrssoft-yii2-dadata/health.svg)

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

###  Alternatives

[rmrevin/yii2-fontawesome

Asset Bundle for Yii2 with Font Awesome

1474.0M134](/packages/rmrevin-yii2-fontawesome)[kop/yii2-scroll-pager

Infinite AJAX scrolling for Yii2 ListView widget

180706.5k10](/packages/kop-yii2-scroll-pager)[mihaildev/yii2-ckeditor

Yii2 CKEditor

118552.5k50](/packages/mihaildev-yii2-ckeditor)[cebe/yii2-gravatar

Gravatar Widget for Yii 2

441.8M35](/packages/cebe-yii2-gravatar)[brussens/yii2-maintenance-mode

Maintenance mode component for Yii framework 2.x.x version.

78256.3k5](/packages/brussens-yii2-maintenance-mode)[trntv/yii2-aceeditor

Yii2 ajax.org Ace Editor widget

43787.5k20](/packages/trntv-yii2-aceeditor)

PHPackages © 2026

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