{"id":16083903,"url":"https://github.com/kstkn/yii2-dadata","last_synced_at":"2025-03-18T06:30:28.611Z","repository":{"id":62510675,"uuid":"46287527","full_name":"kstkn/yii2-dadata","owner":"kstkn","description":"Yii 2 binding for gietos/dadata","archived":false,"fork":false,"pushed_at":"2016-04-08T08:00:34.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-08T01:04:34.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kstkn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-16T16:34:04.000Z","updated_at":"2022-12-21T13:17:59.000Z","dependencies_parsed_at":"2022-11-02T13:01:32.794Z","dependency_job_id":null,"html_url":"https://github.com/kstkn/yii2-dadata","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstkn%2Fyii2-dadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstkn%2Fyii2-dadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstkn%2Fyii2-dadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kstkn%2Fyii2-dadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kstkn","download_url":"https://codeload.github.com/kstkn/yii2-dadata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243906178,"owners_count":20366986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T12:08:13.558Z","updated_at":"2025-03-18T06:30:28.219Z","avatar_url":"https://github.com/kstkn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii2 Dadata API client\n======================\n\nA PHP library for the DaData.ru REST API\n\n[![Latest Stable Version](https://poser.pugx.org/gietos/yii2-dadata/version)](https://packagist.org/packages/gietos/yii2-dadata)\n[![Total Downloads](https://poser.pugx.org/gietos/yii2-dadata/downloads)](https://packagist.org/packages/gietos/yii2-dadata)\n[![License](https://poser.pugx.org/gietos/yii2-dadata/license)](https://packagist.org/packages/gietos/yii2-dadata)\n\n[API documentation](https://dadata.ru/api/clean/)\n\n## Installation\n\nThe suggested installation method is via [composer](https://getcomposer.org/):\n\n```sh\ncomposer require gietos/yii2-dadata\n```\n\n## Usage\n\nIn config:\n\n``` php\n'components' =\u003e [\n    // ...\n    'dadata' =\u003e [\n        'class' =\u003e '\\gietos\\yii\\Dadata\\Client',\n        'token' =\u003e '...',\n        'secret' =\u003e '...',\n    ],\n],\n```\n\nExample usage:\n\n``` php\nuse gietos\\yii\\Dadata\\Client;\n\n/** @var Client $client */\n$client = \\Yii::$app-\u003edadata;\n\n$address = $client-\u003ecleanAddress('msk, tverskaya, 1');\necho 'Result: ' . $address-\u003eresult . PHP_EOL;\n```\n\n[More documentation](https://github.com/gietos/dadata/blob/master/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkstkn%2Fyii2-dadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkstkn%2Fyii2-dadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkstkn%2Fyii2-dadata/lists"}