codersstudio / dadata-api
Laravel Dadata API
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2024-12-27 00:18:32 UTC
README
Installation
Via Composer
$ composer require codersstudio/dadataapi
Usage
DadataApi::suggestCity("Москва", ["RU"]);
DadataApi::suggestCountry("Россия");
All methods
suggestCity(string $query = "", array $countryCodeISO = ["*"], int $count = 10)
suggestStreet(string $query = "", string $fiasId = "", int $count = 10)
suggestHouse(string $query = "", string $street_fias_id = "", int $count = 10)
cleanAddress(string $address)
suggestCountry(string $query, int $count = 10)
suggestAddress(string $query, ?string $fiasId = null)
suggestBank(string $query)
suggestDeliveryId(string $kladrId)
suggestAddressById(string $fiasId)
suggestCompany(string $inn)
https://github.com/imjonos/laravel-dadata-api/blob/master/src/DadataApi.php
Credits
License
license. Please see the license file for more information.