{"id":18431271,"url":"https://github.com/zhan3333/tencentcloudapi","last_synced_at":"2025-10-18T15:07:05.506Z","repository":{"id":57090588,"uuid":"230172576","full_name":"zhan3333/tencentcloudapi","owner":"zhan3333","description":"Tencent cloud api","archived":false,"fork":false,"pushed_at":"2019-12-26T03:09:45.000Z","size":13420,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T15:12:36.702Z","etag":null,"topics":[],"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/zhan3333.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":"2019-12-26T01:17:10.000Z","updated_at":"2019-12-26T03:09:47.000Z","dependencies_parsed_at":"2022-08-22T20:40:32.054Z","dependency_job_id":null,"html_url":"https://github.com/zhan3333/tencentcloudapi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zhan3333/tencentcloudapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Ftencentcloudapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Ftencentcloudapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Ftencentcloudapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Ftencentcloudapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhan3333","download_url":"https://codeload.github.com/zhan3333/tencentcloudapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhan3333%2Ftencentcloudapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279553863,"owners_count":26189910,"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","status":"online","status_checked_at":"2025-10-18T02:00:06.492Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-06T05:24:10.225Z","updated_at":"2025-10-18T15:07:05.461Z","avatar_url":"https://github.com/zhan3333.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 腾讯云api Laravel 版本\n\n## 安装\n\n`composer require zhan3333/tencentcloudapi`\n\n## 配置\n\n`.env`配置\n\n```env\nTENCENT_SECRET_ID=\nTENCENT_SECRET_KEY=\n```\n\n## 使用\n\n```php\nuse Zhan3333\\Tencent\\OCR;\nuse Zhan3333\\Tencent\\Request\\OCRIdCardRequest;\nuse Zhan3333\\Tencent\\Response\\OCRIdCardResponse;\n\n$filePath = __DIR__ . '/files/id-card-front.jpg';\n$request = new OCRIdCardRequest($filePath, OCRIdCardRequest::SIDE_FRONT);\n/** @var OCRIdCardResponse $response */\n$response = app(OCR::class)-\u003eexecute($request);\ndump($response);\ndump($response-\u003ecard);\ndump($response-\u003eerror_message);\ndump($response-\u003ecard-\u003eid_card_number);\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhan3333%2Ftencentcloudapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhan3333%2Ftencentcloudapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhan3333%2Ftencentcloudapi/lists"}