{"id":36992691,"url":"https://github.com/btccom/aliyun-direct-mail","last_synced_at":"2026-01-13T23:44:51.809Z","repository":{"id":62497799,"uuid":"76536869","full_name":"btccom/aliyun-direct-mail","owner":"btccom","description":"Aliyun DirectMail for Laravel 5.","archived":false,"fork":true,"pushed_at":"2017-02-20T10:37:47.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-02T08:10:52.260Z","etag":null,"topics":["aliyun","directmail","laravel"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"HyanCat/aliyun-direct-mail","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btccom.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":"2016-12-15T07:54:09.000Z","updated_at":"2020-01-24T00:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/btccom/aliyun-direct-mail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/btccom/aliyun-direct-mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btccom%2Faliyun-direct-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btccom%2Faliyun-direct-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btccom%2Faliyun-direct-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btccom%2Faliyun-direct-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btccom","download_url":"https://codeload.github.com/btccom/aliyun-direct-mail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btccom%2Faliyun-direct-mail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"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":["aliyun","directmail","laravel"],"created_at":"2026-01-13T23:44:51.693Z","updated_at":"2026-01-13T23:44:51.802Z","avatar_url":"https://github.com/btccom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 阿里云邮件推送 Aliyun DirectMail for Laravel 5\n\n使用阿里云的 DirectMail 发送邮件。\n\n当前实现仅支持[单一发信接口](https://help.aliyun.com/document_detail/29444.html)。\n\n## 安装\n\n1. 使用 `composer` 安装文件\n\n   ```bash\n   composer require btccom/aliyun-direct-mail\n   ```\n\n2. 发布配置文件\n\n   ```bash\n   php artisan vendor:publish --provider='BTCCOM\\DirectMail\\AliyunDirectMailServiceProvider'\n   ```\n\n3. 在 `config/directmail.php` 中根据需要修改配置\n\n   ```\n   'directmail' =\u003e [\n       'app_key'    =\u003e env('DIRECT_MAIL_APP_KEY'),\n       'app_secret' =\u003e env('DIRECT_MAIL_APP_SECRET'),\n       'region'     =\u003e 'cn-beijing',\n       'account'    =\u003e [\n           'alias' =\u003e env('DIRECT_MAIL_ACCOUNT_ALIAS'),\n           'name' =\u003e env('DIRECT_MAIL_ACCOUNT_NAME'),\n       ]\n   ]\n   ```\n\n   具体配置含义请参考[官方文档](https://help.aliyun.com/document_detail/29444.html)。\n\n   建议在`.env`中创建环境配置。\n\n4. 修改 `config/mail.php` 中的 `driver` 为 `directmail`（或者 `.env` 中的 `MAIL_DRIVER`）。\n\n5. 修改 `config/app.php`，在`providers`字段中添加：\n\n   ```\n   'providers' =\u003e [\n       ...\n       BTCCOM\\DirectMail\\AliyunDirectMailServiceProvider::class,\n       ...\n   ],\n   ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtccom%2Faliyun-direct-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtccom%2Faliyun-direct-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtccom%2Faliyun-direct-mail/lists"}