{"id":33985549,"url":"https://github.com/rushuinet/jddj-openapi-php-sdk","last_synced_at":"2026-04-26T19:31:31.102Z","repository":{"id":56964340,"uuid":"112582236","full_name":"rushuinet/jddj-openapi-php-sdk","owner":"rushuinet","description":"京东到家开放平台PHP SDK","archived":false,"fork":false,"pushed_at":"2018-03-21T07:12:00.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T17:06:59.266Z","etag":null,"topics":["jddj","openapi","php","php-sdk"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rushuinet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-30T07:54:34.000Z","updated_at":"2020-05-27T12:15:43.000Z","dependencies_parsed_at":"2022-08-21T10:20:12.097Z","dependency_job_id":null,"html_url":"https://github.com/rushuinet/jddj-openapi-php-sdk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rushuinet/jddj-openapi-php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushuinet%2Fjddj-openapi-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushuinet%2Fjddj-openapi-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushuinet%2Fjddj-openapi-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushuinet%2Fjddj-openapi-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rushuinet","download_url":"https://codeload.github.com/rushuinet/jddj-openapi-php-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushuinet%2Fjddj-openapi-php-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32310804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: 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":["jddj","openapi","php","php-sdk"],"created_at":"2025-12-13T04:57:14.101Z","updated_at":"2026-04-26T19:31:31.085Z","avatar_url":"https://github.com/rushuinet.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP SDK 接入指南\n\n## 接入指南\n\n  1. PHP version \u003e= 5.4 \u0026 curl extension support\n  2. 通过composer安装SDK\n  3. 创建Config配置类，填入key，secret和sandbox参数\n  4. 使用sdk提供的接口进行开发调试\n  5. 线上环境将Config中$sandbox值设为false\n\n### 安装\n\n```\nphp\n    composer require ddxq/jddj-openapi-php-sdk\n```\n\n### 基本用法\n\n```\nphp\n    use JddjOpenApi\\Config\\Config;\n    use JddjOpenApi\\Api\\ShopService;\n    \n    //实例化一个配置类\n    $config = new Config($app_key, $app_secret, false);\n    \n    //使用config和token对象，实例化一个服务对象\n    $shop_service = new ShopService($token, $config);\n    \n    //调用服务方法，获取资源\n    $shop = shop_service-\u003eget_shop('12345');\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushuinet%2Fjddj-openapi-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frushuinet%2Fjddj-openapi-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushuinet%2Fjddj-openapi-php-sdk/lists"}