{"id":17922691,"url":"https://github.com/overtrue/sendcloud","last_synced_at":"2025-03-24T02:32:44.289Z","repository":{"id":57034317,"uuid":"114959927","full_name":"overtrue/sendcloud","owner":"overtrue","description":"SendCloud Mail SDK","archived":false,"fork":false,"pushed_at":"2019-04-06T08:08:07.000Z","size":6,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T01:08:36.316Z","etag":null,"topics":["mail","sendcloud","sendcloud-api","sendcloud-mail","sendcloud-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/overtrue.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-12-21T03:49:48.000Z","updated_at":"2023-12-19T08:53:17.000Z","dependencies_parsed_at":"2022-08-23T20:50:34.791Z","dependency_job_id":null,"html_url":"https://github.com/overtrue/sendcloud","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fsendcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fsendcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fsendcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overtrue%2Fsendcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overtrue","download_url":"https://codeload.github.com/overtrue/sendcloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245198760,"owners_count":20576437,"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":["mail","sendcloud","sendcloud-api","sendcloud-mail","sendcloud-sdk"],"created_at":"2024-10-28T20:40:27.099Z","updated_at":"2025-03-24T02:32:43.982Z","avatar_url":"https://github.com/overtrue.png","language":"PHP","readme":"\u003ch1 align=\"center\"\u003eSendCloud\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e:e-mail: [SendCloud](https://www.sendcloud.net) Mail SDK\u003c/p\u003e\n\n## Installing\n\n```shell\n$ composer require overtrue/sendcloud -vvv\n```\n\n## Usage\n\n```php\nuse Overtrue\\SendCloud\\SendCloud;\n\n$apiUser = 'overtrue_test_xxxx';\n$apiKey = 'UWoBGa2sgxyxxxxxxxx';\n\n$client = new SendCloud($apiUser, $apiKey);\n\n$result = $client-\u003epost('/mail/send', [\n    'from' =\u003e 'overtrue@domain.sendcloud.org',\n    'to' =\u003e 'demo@easywechat.com',\n    'subject' =\u003e '来自 SendCloud 的第一封邮件！',\n    'html' =\u003e '你太棒了！你已成功的 从 SendCloud 发送了一封测试邮件！',\n]);\n\nvar_dump($result);\n\n//{\n//    \"result\": true,\n//    \"statusCode\": 200,\n//    \"message\": \"请求成功\",\n//    \"info\": {\n//        \"emailIdList\": [\n//            \"1513828329529_91891_27315_500.sc-10_9_13_218-inbounddemo@easywechat.com\"\n//        ]\n//    }\n//}⏎\n\n```\n\n## PHP 扩展包开发\n\n\u003e 想知道如何从零开始构建 PHP 扩展包？\n\u003e\n\u003e 请关注我的实战课程，我会在此课程中分享一些扩展开发经验 —— [《PHP 扩展包实战教程 - 从入门到发布》](https://learnku.com/courses/creating-package)\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Fsendcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovertrue%2Fsendcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovertrue%2Fsendcloud/lists"}