{"id":37236119,"url":"https://github.com/updevru/php-shop-logistics.ru-api","last_synced_at":"2026-01-15T04:11:44.677Z","repository":{"id":57075916,"uuid":"101918504","full_name":"updevru/php-shop-logistics.ru-api","owner":"updevru","description":"PHP oop wrapper for shop-logistics.ru remote functions","archived":false,"fork":true,"pushed_at":"2017-08-30T19:05:35.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-24T09:26:13.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"gennadyx/php-shop-logistics.ru-api","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/updevru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-30T19:01:36.000Z","updated_at":"2017-08-30T19:01:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/updevru/php-shop-logistics.ru-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/updevru/php-shop-logistics.ru-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/updevru%2Fphp-shop-logistics.ru-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/updevru%2Fphp-shop-logistics.ru-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/updevru%2Fphp-shop-logistics.ru-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/updevru%2Fphp-shop-logistics.ru-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/updevru","download_url":"https://codeload.github.com/updevru/php-shop-logistics.ru-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/updevru%2Fphp-shop-logistics.ru-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-15T04:11:44.132Z","updated_at":"2026-01-15T04:11:44.669Z","avatar_url":"https://github.com/updevru.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-shop-logistics.ru-api\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE)\n[![Build Status][ico-travis]][link-travis]\n[![Total Downloads][ico-downloads]][link-downloads]\n\n[![Coverage Status][ico-coverage]][link-coverage]\n[![Sensiolabs_Medal][ico-code-quality-sensio]][link-code-quality-sensio]\n[![Quality Score][ico-code-quality-scrutinizer]][link-code-quality-scrutinizer]\n\n##php-shop-logistics.ru-api\nPHP oop wrapper for shop-logistics.ru remote functions \n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require gennadyx/php-shop-logistics.ru-api\n```\n\n## Usage\n\n``` php\nuse Gennadyx\\ShopLogisticsRu\\ApiClientBuilder;\nuse Gennadyx\\ShopLogisticsRu\\Environment;\nuse Gennadyx\\ShopLogisticsRu\\Api\\Dictionary;\nuse Http\\Message\\MessageFactory\\DiactorosMessageFactory;\nuse Http\\Message\\StreamFactory\\DiactorosStreamFactory;\n\n$client = ApiClientBuilder::create()\n    -\u003ewithRequestFactory(new DiactorosMessageFactory())\n    -\u003ewithStreamFactory(new DiactorosStreamFactory())\n    -\u003ewithEncoder(function ($data) {\n        $xml = '';\n        //your logic here\n        return $xml;\n    })\n    -\u003ewithEnvironment(Environment::PROD())\n    -\u003ewithKey('your_key')\n    -\u003ebuild();\n\n//or just build with default parameters\n$client = ApiClientBuilder::create()-\u003ebuild();\n\n/** @var Dictionary $dictionary */\n$dictionary = $client-\u003eapi('dictionary');\n\n//call remote function\n$cities = $dictionary-\u003egetCities();\n//or\n$states = $client-\u003edictionary-\u003egetStates();//array\n\n//if any error (http exception or other)\n$metro = $client-\u003edictionary-\u003egetMetro();\n//$metro instance of \\Gennadyx\\ShopLogisticsRu\\Response\\Error with error code\n```\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email dev@gennadyx.tech instead of using the issue tracker.\n\n## Credits\n\n- [Gennady Knyazkin][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/gennadyx/php-shop-logistics.ru-api.svg?style=flat\n[ico-license]: https://img.shields.io/packagist/l/gennadyx/php-shop-logistics.ru-api.svg?style=flat\n[ico-travis]: https://img.shields.io/travis/gennadyx/php-shop-logistics.ru-api/master.svg?style=flat\n[ico-coverage]: https://img.shields.io/scrutinizer/coverage/g/gennadyx/php-shop-logistics.ru-api.svg?style=flat\n[ico-code-quality-scrutinizer]: https://img.shields.io/scrutinizer/g/gennadyx/php-shop-logistics.ru-api.svg?style=flat\n[ico-code-quality-sensio]: https://insight.sensiolabs.com/projects/6ede6306-c632-40ec-bffb-8e533a81ca55/mini.png\n[ico-downloads]: https://img.shields.io/packagist/dt/gennadyx/php-shop-logistics.ru-api.svg?style=flat\n\n[link-packagist]: https://packagist.org/packages/gennadyx/php-shop-logistics.ru-api\n[link-travis]: https://travis-ci.org/gennadyx/php-shop-logistics.ru-api\n[link-coverage]: https://scrutinizer-ci.com/g/gennadyx/php-shop-logistics.ru-api/code-structure\n[link-code-quality-scrutinizer]: https://scrutinizer-ci.com/g/gennadyx/php-shop-logistics.ru-api\n[link-code-quality-sensio]: https://insight.sensiolabs.com/projects/6ede6306-c632-40ec-bffb-8e533a81ca55\n[link-downloads]: https://packagist.org/packages/gennadyx/php-shop-logistics.ru-api\n[link-author]: http://gennadyx.tech\n[link-contributors]: https://github.com/gennadyx/php-shop-logistics.ru-api/contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupdevru%2Fphp-shop-logistics.ru-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupdevru%2Fphp-shop-logistics.ru-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupdevru%2Fphp-shop-logistics.ru-api/lists"}