PHPackages                             widuu/sendcloud - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. widuu/sendcloud

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

widuu/sendcloud
===============

Sohu SendCloud PHP SDK

0.0.1(9y ago)4191Apache-2.0PHPPHP &gt;=5.4.0

Since Sep 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/widuu/SendCloud)[ Packagist](https://packagist.org/packages/widuu/sendcloud)[ RSS](/packages/widuu-sendcloud/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

SendCloud PHP SDK
=================

[](#sendcloud-php-sdk)

[![sendcloud](https://camo.githubusercontent.com/be64c56010099d31110ee25e6425dda0cdc18d1eed6bc410e624eba9e0c5be1f/687474703a2f2f73656e64636c6f75642e736f68752e636f6d2f696d672f686f6d652f6c6f676f2d2e706e67)](https://camo.githubusercontent.com/be64c56010099d31110ee25e6425dda0cdc18d1eed6bc410e624eba9e0c5be1f/687474703a2f2f73656e64636c6f75642e736f68752e636f6d2f696d672f686f6d652f6c6f676f2d2e706e67)

\##安装

```
composer require widuu/sendcloud:@dev

```

\##使用方法

### 获取用户信息( 在examples 文件夹中)

[](#获取用户信息-在examples-文件夹中)

```
//自己的API_User和API_KEY

define('API_USER','ttchina_ses');

define('API_KEY','7Ag7e2JzMp36E9pq');

require 'vendor/autoload.php';

// 获取用户信息
$userinfo = Sendcloud\User::get_userinfo();
print_r($userinfo);

// 获取API User
// 参数为空默认为1  0(触发), 1(批量)
$api_user = Sendcloud\User::get_apiuser();
print_r($api_user);

// 域名查询
// 0 测试域名 1 正常域名

$domain = Sendcloud\User::get_domain();
print_r($domain);

```

> 如果你使用的ThinkPHP,你可以直接将，Sendcloud文件夹放到Thinkphp\\Library下使用。

\##TODO

1. 因为开发时间特别紧就3个小时，所以BUG会不少，需要修复BUG。
2. 完善examples中的使用方法，都针对各个类库使用。
3. 优化代码，还是开发速度时间太紧造成大量的代码堆积状况出现，所以需要优化。
4. 完善整个SDK

Contributing
------------

[](#contributing)

1. 登录  或
2. 创建您的特性分支 (`git checkout -b my-new-feature`)
3. 提交您的改动 (`git commit -am 'Added some feature'`)
4. 将您的改动记录提交到远程 git 仓库 (`git push origin my-new-feature`)
5. 然后到 coding 网站的该 git 远程仓库的 `my-new-feature` 分支下发起 Pull Request

\##其他信息

blog地址：

新浪微博：

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3573d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/997101bef8606131cdb52c6dce338b4170fb71b8d5a86bc55aa14ed3596376fb?d=identicon)[widuu](/maintainers/widuu)

---

Top Contributors

[![widuu](https://avatars.githubusercontent.com/u/7092151?v=4)](https://github.com/widuu "widuu (17 commits)")[![ember-tomster](https://avatars.githubusercontent.com/u/17934356?v=4)](https://github.com/ember-tomster "ember-tomster (1 commits)")

---

Tags

mailthinkphpsendcloud

### Embed Badge

![Health badge](/badges/widuu-sendcloud/health.svg)

```
[![Health](https://phpackages.com/badges/widuu-sendcloud/health.svg)](https://phpackages.com/packages/widuu-sendcloud)
```

###  Alternatives

[php-imap/php-imap

Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)

1.7k13.4M50](/packages/php-imap-php-imap)[zbateson/mail-mime-parser

MIME email message parser

54753.3M90](/packages/zbateson-mail-mime-parser)[php-mime-mail-parser/php-mime-mail-parser

A fully tested email parser for PHP 8.2+ (mailparse extension wrapper).

1.0k10.4M35](/packages/php-mime-mail-parser-php-mime-mail-parser)[webklex/php-imap

PHP IMAP client

4466.7M25](/packages/webklex-php-imap)[zbateson/stream-decorators

PHP psr7 stream decorators for mime message part streams

4752.6M9](/packages/zbateson-stream-decorators)[opcodesio/mail-parser

Parse emails without the mailparse extension

228.8M11](/packages/opcodesio-mail-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
