Download the PHP package movemoveapp/laravel-dadata2 without Composer

On this page you can find all versions of the php package movemoveapp/laravel-dadata2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-dadata2

DaData Laravel SDK Package

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

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 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 package is no longer maintained and should not be used in new projects.

Features

Installation

Install the package via Composer:

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:

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

Publish the Configuration

After installation, publish the configuration file to set up the package with Laravel:

Configuration

Once the configuration file is published, you can set up your DaData credentials in your .env file. Obtain your API key and secret key from the DaData dashboard and set them as follows:

These keys will allow your application to authenticate requests to the DaData API.

API

Organization

This facade provides powerful tools to search, validate, and autocomplete Russian legal entities and individual entrepreneurs (IEs) based on data from the official Russian registries (EGRUL and EGRIP).

It helps to:

Organization Suggestion

Use this facade to search and autocomplete legal entities and individual entrepreneurs by name, INN, OGRN, address, or director name.

Basic Usage

Supported Parameters

Parameter Type Description
query string Search string (required). Could be a name, INN, OGRN, address, etc.
count integer Max number of results to return (default: 10, max: 20).
type string Organization type: LEGAL (legal entity) or INDIVIDUAL (entrepreneur).
status array Filter by status: ACTIVE, LIQUIDATING, LIQUIDATED, BANKRUPT, etc.
okved string Filter by OKVED code (business activity code).
locations array Filter results by location (e.g. region, city).
locations_boost array Prioritize results in certain locations.

Example with Advanced Filters

``

Docs

Find Russian Organization

Use this method to retrieve exact information about a Russian company or individual entrepreneur by INN, OGRN, or full name. Unlike the general suggestions, this method performs a precise match and returns full organization data — perfect for backend checks, form validation, or compliance workflows.

Supported Parameters

Parameter Type Description
query string Required. INN, OGRN, or full name of the legal entity or sole trader.
count integer Number of results to return (default: 1, max: 20).
kpp string KPP code — helps narrow down the branch when searching by INN.
branch_type string Branch type: MAIN (head office), BRANCH (subsidiary/branch).
type string Organization type: LEGAL (legal entity), INDIVIDUAL (sole proprietor).
status array Filter by organization status: ACTIVE, LIQUIDATED, LIQUIDATING, etc.

Docs

Cleaner Methods

The following data types can be standardized (cleaned):

Address Standardization

Features:

Docs

Name Standardization

Features:

Docs

Phone Standardization

Features:

Docs

Passport Standardization

⚠️ Note: Due to issues with the МВД database, data is current as of June 21, 2023.

Features:

Docs

Email Standardization

Features:

Docs

Vehicle Standardization

Features:

Docs

Suggestion Methods

Use this facade to implement autocomplete features in forms or UIs. All methods require a query key in the input array.

Name Suggestion

Features:

Docs

Passport Unit Suggestion

Features:

Docs

Email Suggestion

Features:

Docs

Car Brand Suggestion

Features:

Docs

Bank Suggestion

Features:

Docs

Bank Lookup by ID

Features:

Docs


All versions of laravel-dadata2 with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0|^8.1|^8.2|^8.3|^8.4
ext-json Version *
guzzlehttp/guzzle Version ^7.5.1
guzzlehttp/psr7 Version ^2.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package movemoveapp/laravel-dadata2 contains the following files

Loading the files please wait ....