2017 © Pedro Peláez
 

yii2-extension dadata-yii2

Dadata API client (https://dadata.ru) Add cache

image

rocknroi/dadata-yii2

Dadata API client (https://dadata.ru) Add cache

  • Friday, September 22, 2017
  • by Henakel
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 Dadata&Cache

Description!

Standatr api and cache, (*1)

Install

php composer.phar require rocknroi/dadata-yii2

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('форд фокус')

The Versions

22/09 2017

dev-master

9999999-dev https://bitbucket.org/rocknroi/dadata-yii2

Dadata API client (https://dadata.ru) Add cache

  Sources   Download

GNU GPL v3.0

The Requires

 

extension yii2 dadata