├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── .gitignore ├── .styleci.yml ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── _config.yml ├── composer.json ├── phpunit.xml.dist ├── src ├── AbstractService.php ├── ApiRequestFactory.php ├── JsonMediator.php ├── Model │ ├── AbstractCollection.php │ ├── AbstractModel.php │ ├── ConfigurableInterface.php │ ├── NullableCollection.php │ └── Response │ │ ├── Address.php │ │ ├── Balance.php │ │ ├── Clean │ │ ├── Address.php │ │ ├── AddressCollection.php │ │ ├── BaseModel.php │ │ ├── Metro.php │ │ ├── MetroCollection.php │ │ ├── Name.php │ │ └── NameCollection.php │ │ ├── Error.php │ │ ├── Fio.php │ │ ├── Suggestions │ │ ├── AbstractSuggestion.php │ │ ├── AddressSuggestion.php │ │ ├── AddressSuggestionsCollection.php │ │ ├── AddressSuggestionsResponse.php │ │ ├── FioSuggestion.php │ │ ├── FioSuggestionsCollection.php │ │ └── FioSuggestionsResponse.php │ │ └── Version │ │ ├── BaseVersion.php │ │ ├── BaseVersionWithResources.php │ │ ├── Dadata.php │ │ ├── Factor.php │ │ ├── Suggestions.php │ │ └── Version.php └── Service │ ├── Clean.php │ ├── General.php │ └── Suggestions.php └── tests ├── AbstractModelTest.php ├── ApiRequestFactoryTest.php ├── BaseTestCase.php └── JsonMediatorTest.php /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | /composer.lock 3 | /vendor 4 | /phpunit.xml 5 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/.styleci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/_config.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/AbstractService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/AbstractService.php -------------------------------------------------------------------------------- /src/ApiRequestFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/ApiRequestFactory.php -------------------------------------------------------------------------------- /src/JsonMediator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/JsonMediator.php -------------------------------------------------------------------------------- /src/Model/AbstractCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/AbstractCollection.php -------------------------------------------------------------------------------- /src/Model/AbstractModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/AbstractModel.php -------------------------------------------------------------------------------- /src/Model/ConfigurableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/ConfigurableInterface.php -------------------------------------------------------------------------------- /src/Model/NullableCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/NullableCollection.php -------------------------------------------------------------------------------- /src/Model/Response/Address.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Address.php -------------------------------------------------------------------------------- /src/Model/Response/Balance.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Balance.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/Address.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/Address.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/AddressCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/AddressCollection.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/BaseModel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/BaseModel.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/Metro.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/Metro.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/MetroCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/MetroCollection.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/Name.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/Name.php -------------------------------------------------------------------------------- /src/Model/Response/Clean/NameCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Clean/NameCollection.php -------------------------------------------------------------------------------- /src/Model/Response/Error.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Error.php -------------------------------------------------------------------------------- /src/Model/Response/Fio.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Fio.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/AbstractSuggestion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/AbstractSuggestion.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/AddressSuggestion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/AddressSuggestion.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/AddressSuggestionsCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/AddressSuggestionsCollection.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/AddressSuggestionsResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/AddressSuggestionsResponse.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/FioSuggestion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/FioSuggestion.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/FioSuggestionsCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/FioSuggestionsCollection.php -------------------------------------------------------------------------------- /src/Model/Response/Suggestions/FioSuggestionsResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Suggestions/FioSuggestionsResponse.php -------------------------------------------------------------------------------- /src/Model/Response/Version/BaseVersion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Version/BaseVersion.php -------------------------------------------------------------------------------- /src/Model/Response/Version/BaseVersionWithResources.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Version/BaseVersionWithResources.php -------------------------------------------------------------------------------- /src/Model/Response/Version/Dadata.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Version/Dadata.php -------------------------------------------------------------------------------- /src/Model/Response/Version/Factor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Version/Factor.php -------------------------------------------------------------------------------- /src/Model/Response/Version/Suggestions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Version/Suggestions.php -------------------------------------------------------------------------------- /src/Model/Response/Version/Version.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Model/Response/Version/Version.php -------------------------------------------------------------------------------- /src/Service/Clean.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Service/Clean.php -------------------------------------------------------------------------------- /src/Service/General.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Service/General.php -------------------------------------------------------------------------------- /src/Service/Suggestions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/src/Service/Suggestions.php -------------------------------------------------------------------------------- /tests/AbstractModelTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/tests/AbstractModelTest.php -------------------------------------------------------------------------------- /tests/ApiRequestFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/tests/ApiRequestFactoryTest.php -------------------------------------------------------------------------------- /tests/BaseTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/tests/BaseTestCase.php -------------------------------------------------------------------------------- /tests/JsonMediatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kstkn/dadata/HEAD/tests/JsonMediatorTest.php --------------------------------------------------------------------------------