{"id":34005575,"url":"https://github.com/jetblink/dingtalk-notify","last_synced_at":"2026-04-07T07:01:12.141Z","repository":{"id":56998333,"uuid":"175147520","full_name":"JetBlink/dingtalk-notify","owner":"JetBlink","description":"钉钉机器人通知(支持加签). dingtalk robot notification sdk.","archived":false,"fork":false,"pushed_at":"2019-10-29T09:59:42.000Z","size":13,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T22:47:14.719Z","etag":null,"topics":["composer","dingtalk","dingtalk-robot","php"],"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/JetBlink.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":"2019-03-12T06:17:47.000Z","updated_at":"2025-01-18T10:50:17.000Z","dependencies_parsed_at":"2022-08-21T11:40:50.112Z","dependency_job_id":null,"html_url":"https://github.com/JetBlink/dingtalk-notify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/JetBlink/dingtalk-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBlink%2Fdingtalk-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBlink%2Fdingtalk-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBlink%2Fdingtalk-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBlink%2Fdingtalk-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JetBlink","download_url":"https://codeload.github.com/JetBlink/dingtalk-notify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JetBlink%2Fdingtalk-notify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31503394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["composer","dingtalk","dingtalk-robot","php"],"created_at":"2025-12-13T10:56:05.499Z","updated_at":"2026-04-07T07:01:12.109Z","avatar_url":"https://github.com/JetBlink.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DingTalk Notify\n钉钉机器人通知(支持加签）。dingtalk robot notification sdk.\n\n## Overview\n\n* [Installation](#Installation)\n* [Usage](#Usage)\n  * [获取实例](#获取实例)\n  * [发送消息](#发送消息)\n    * [发送原始消息](#发送原始消息)\n    * [发送文本消息](#发送文本消息)\n    * [发送Markdown消息](#发送markdown消息)\n    * [发送链接消息](#发送链接消息)\n  * [Tips](#Tips)\n* [官方文档](#官方文档)\n* [License](#license)\n\n## Installation\n\n```\ncomposer require jetblink/dingtalk-notify -vvv\n```\n\n## Usage\n\n### 获取实例\n\n  ```\n$dingTalk = new \\JetBlink\\DingtalkNotify\\DingtalkNotify('your_dingtalk_robot_token');\n  ```\n\n### 发送消息\n\n#### 发送原始消息\n\n```\n$dingTalk-\u003esendMessage([\n    'msgtype' =\u003e 'text',\n    'text'    =\u003e [\n        'content' =\u003e '这是一条测试消息。',\n    ],\n    'at'      =\u003e [\n        'atMobiles' =\u003e [],\n        'isAtAll'   =\u003e false,\n    ]\n]);\n```\n\n#### 发送文本消息\n\n```\n$dingTalk-\u003esendTextMessage('这是一条文本测试消息。');\n```\n\n#### 发送Markdown消息\n\n```\n$dingTalk-\u003esendMarkdownMessage(\n    'Markdown Test Title',\n    \"### Markdown  \u003cfont color='#ff0000'\u003e测试消息\u003c/font\u003e\"\n);\n```\n\n#### 发送链接消息\n\n```\n$dingTalk-\u003esendLinkMessage(\n    'Link Test Title',\n    \"这是一条链接测试消息\",\n    'https://github.com/JetBlink',\n    'https://avatars0.githubusercontent.com/u/40748346'\n);\n```\n\n### Tips\n\n文本消息和Markdown消息都支持**@指定手机号**和**@所有人**，参数位置见具体方法\n\n## 官方文档\n\n* [自定义机器人](https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq)\n\u003e 每个机器人每分钟最多发送**20条**。\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetblink%2Fdingtalk-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetblink%2Fdingtalk-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetblink%2Fdingtalk-notify/lists"}