{"id":16767057,"url":"https://github.com/assert6/dingdingrobot","last_synced_at":"2025-03-16T13:12:59.616Z","repository":{"id":57089549,"uuid":"185315037","full_name":"assert6/dingdingRobot","owner":"assert6","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-20T02:48:05.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-23T08:20:42.202Z","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/assert6.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-05-07T03:34:52.000Z","updated_at":"2020-07-20T02:47:29.000Z","dependencies_parsed_at":"2022-08-20T15:30:24.795Z","dependency_job_id":null,"html_url":"https://github.com/assert6/dingdingRobot","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert6%2FdingdingRobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert6%2FdingdingRobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert6%2FdingdingRobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/assert6%2FdingdingRobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/assert6","download_url":"https://codeload.github.com/assert6/dingdingRobot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871912,"owners_count":20361380,"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-13T06:08:20.929Z","updated_at":"2025-03-16T13:12:59.597Z","avatar_url":"https://github.com/assert6.png","language":"PHP","readme":"# 如何使用\n## 安装组件\n\u003ecomposer require zcmzc/dingding-robot\n## 新建Robot 类\n```php\n\u003c?php\n\nnamespace DingRobotTest\\Robot;\n\nclass TestRobot extends \\DingRobot\\AbstractRobot\n{\n  public function getWebhook(): string\n  {\n      return 'https://oapi.dingtalk.com/robot/send?access_token=';\n  }\n\n  public function getName(): string\n  {\n      return '自定义';\n  }\n}\n``` \n## 发送信息\n```php\n\u003c?php\nuse DingRobotTest\\Robot\\TestRobot;\nuse GuzzleHttp\\Client;\nuse DingRobot\\Message\\TextMessage;\n\n(new TestRobot(new Client()))-\u003esend(new TextMessage('这是测试消息'));\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassert6%2Fdingdingrobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassert6%2Fdingdingrobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassert6%2Fdingdingrobot/lists"}