PHPackages                             movemoveapp/laravel-dadata2 - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. movemoveapp/laravel-dadata2

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

movemoveapp/laravel-dadata2
===========================

A Laravel SDK for interacting with the DaData API, providing seamless integration for address validation, data enrichment, and other data processing features.

2.1.3(11mo ago)51.7k↓50%1[1 issues](https://github.com/movemoveapp/laravel-dadata2/issues)[1 PRs](https://github.com/movemoveapp/laravel-dadata2/pulls)MITPHPPHP ^8.0|^8.1|^8.2|^8.3|^8.4

Since Feb 9Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/movemoveapp/laravel-dadata2)[ Packagist](https://packagist.org/packages/movemoveapp/laravel-dadata2)[ RSS](/packages/movemoveapp-laravel-dadata2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (13)Used By (0)

[![](https://avatars.githubusercontent.com/u/121749444?s=400&u=682a6bac6ba993a2a90ec220cfa205540d9d684b&v=4)](https://MoveMoveApp.ru/) DaData Laravel SDK Package
=================================================================================================================================================================

[](#-dadata-laravel-sdk-package)

[![Latest Stable Version](https://camo.githubusercontent.com/dcffdbb117f9055772bed2cabcd362cd535e6e9c1c47779e7772449d4a06c833/687474703a2f2f706f7365722e707567782e6f72672f6d6f76656d6f76656170702f6c61726176656c2d646164617461322f76)](https://packagist.org/packages/movemoveapp/laravel-dadata2)[![Total Downloads](https://camo.githubusercontent.com/edda15824a0ca1147f1db0c8bbb11248ab65b947cd97c29d50edb7dc3bf93b6e/687474703a2f2f706f7365722e707567782e6f72672f6d6f76656d6f76656170702f6c61726176656c2d646164617461322f646f776e6c6f616473)](https://packagist.org/packages/movemoveapp/laravel-dadata2)[![Latest Unstable Version](https://camo.githubusercontent.com/6dd17104030d4c91055085bad7c7a6021856b062d496d466674a2cb35139cd7a/687474703a2f2f706f7365722e707567782e6f72672f6d6f76656d6f76656170702f6c61726176656c2d646164617461322f762f756e737461626c65)](https://packagist.org/packages/movemoveapp/laravel-dadata2)[![License](https://camo.githubusercontent.com/c51f0ca8594539ef67b4875c14d16e60a1fcf852e516c13ee948b76474b14e4e/687474703a2f2f706f7365722e707567782e6f72672f6d6f76656d6f76656170702f6c61726176656c2d646164617461322f6c6963656e7365)](https://packagist.org/packages/movemoveapp/laravel-dadata2)[![PHP Version Require](https://camo.githubusercontent.com/2a387e7de6feb0ecdadee94edc5e60210c92ec774e129c55eb6cd6665a53a5a0/687474703a2f2f706f7365722e707567782e6f72672f6d6f76656d6f76656170702f6c61726176656c2d646164617461322f726571756972652f706870)](https://packagist.org/packages/movemoveapp/laravel-dadata2)

DaData is an SDK designed to facilitate easy interaction with the DaData API, allowing seamless integration of DaData functionalities within your Laravel applications. This package supports address and company data management for Russia, Belarus, and Kazakhstan. `movemoveapp/laravel-dadata2` is the second version of the original [movemoveapp/laravel-dadata](https://github.com/movemoveapp/laravel-dadata) package, built with a new and improved approach.

This version addresses a wide range of bugs and issues discovered in the first release, offering a more stable and maintainable integration with the DaData API.

> **Note**
> The original [movemoveapp/laravel-dadata](https://github.com/movemoveapp/laravel-dadata) package is no longer maintained and should not be used in new projects.

- [Features](#features)
- [Installation](#installation)
    - [Register the Service Provider](#register-the-service-provider)
    - [Publish the Configuration](#publish-the-configuration)
- [Configuration](#configuration)
- [API](#api)
    - [Organization](#organization)
        - [Organization Suggestion](#organization-suggestion)
        - [Find Russian Organization](#find-russian-organization)
    - [Cleaner Methods](#cleaner-methods)
        - [Address Standardization](#address-standardization)
        - [Name Standardization](#name-standardization)
        - [Phone Standardization](#phone-standardization)
        - [Passport Standardization](#passport-standardization)
        - [Email Standardization](#email-standardization)
        - [Vehicle Standardization](#vehicle-standardization)
    - [Suggestion Methods](#suggestion-methods)
        - [Name Suggestion](#name-suggestion)
        - [Passport Unit Suggestion](#passport-unit-suggestion)
        - [Email Suggestion](#email-suggestion)
        - [Car Brand Suggestion](#car-brand-suggestion)
        - [Bank Suggestion](#bank-suggestion)
        - [Bank Lookup by ID](#bank-lookup-by-id)

Features
========

[](#features)

- Easy integration with the DaData API.
- Support for handling addresses and company data across Russia, Belarus, and Kazakhstan.
- Compatible with Laravel 10 and 11, PHP version 8.

Installation
============

[](#installation)

Install the package via Composer:

```
composer require movemoveapp/laravel-dadata2
```

Register the Service Provider
-----------------------------

[](#register-the-service-provider)

After installing the package, you need to register the DaData service provider.

Up to and including Laravel 10, add the following line to the providers array in your `config/app.php` file:

```
...
'providers' => [
    ...
    MoveMoveApp\DaData\DaDataServiceProvider::class,

    ...
]
```

From Laravel versions 11 and above, you may edit `bootstrap/providers.php` file:

```
