webarchitect609 / kstkn.dadata
Dadata API client (https://dadata.ru)
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 24
pkg:composer/webarchitect609/kstkn.dadata
Requires
- php: >=7.1
 - ext-json: *
 - doctrine/collections: ^1.4
 - doctrine/inflector: ^1.2
 - psr/http-client: ^1.0
 - psr/http-factory: ^1.0
 
Requires (Dev)
- dev-master
 - 2.0.x-dev
 - v1.2.0
 - 1.1.x-dev
 - v1.1.19
 - v1.1.18
 - v1.1.17
 - 1.1.16
 - 1.1.15
 - 1.1.14
 - 1.1.13
 - 1.1.12
 - 1.1.11
 - 1.1.10
 - 1.1.9
 - 1.1.8
 - 1.1.7
 - 1.1.6
 - 1.1.5
 - 1.1.4
 - 1.1.3
 - 1.1.2
 - 1.1.1
 - 1.1.0
 - 1.0.13
 - 1.0.12
 - 1.0.11
 - 1.0.10
 - 1.0.9
 - 1.0.8
 - 1.0.7
 - 1.0.6
 - 1.0.5
 - 1.0.4
 - 1.0.3
 - 1.0.2
 - 1.0.1
 - 1.0.0
 - dev-1.1.x-dev
 - dev-refactor-abstract-model
 - dev-34-phone-number-type
 - dev-update-phpunit
 - dev-22-suggest-email
 
This package is auto-updated.
Last update: 2025-10-22 17:55:30 UTC
README
This fork was created for compatibility with guzzlehttp/guzzle: ^6.5 || ^7.4. It's not maintained and barely alive
only for some legacy projects.
Dadata API client
Non-official PHP library for the DaData.ru REST API
Installation
The suggested installation method is via composer:
composer require kstkn/dadata
Usage
$client = new Dadata\Client(new \GuzzleHttp\Client(), [ 'token' => '...', 'secret' => '...', ]);
Clean
$response = $client->cleanAddress('мск сухонска 11/-89'); $response = $client->cleanPhone('тел 7165219 доб139'); $response = $client->cleanPassport('4509 235857'); $response = $client->cleanName('Срегей владимерович иванов'); $response = $client->cleanEmail('serega@yandex/ru'); $response = $client->cleanDate('24/3/12'); $response = $client->cleanVehicle('форд фокус')