PHPackages                             zjango/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. [API Development](/categories/api)
4. /
5. zjango/sendcloud

ActiveLibrary[API Development](/categories/api)

zjango/sendcloud
================

v5.4.0(8y ago)65.3k1PHPPHP &gt;=5.4.0

Since Oct 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/zjango/sendcloud)[ Packagist](https://packagist.org/packages/zjango/sendcloud)[ RSS](/packages/zjango-sendcloud/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

sendcloud for laravel
---------------------

[](#sendcloud-for-laravel)

---

\#Use 发送文本

```
Sendcloud::send('test@test.com','来自SendCloud的第一封邮件!','你太棒了！你已成功的从SendCloud发送了一封测试邮件，接下来快登录前台去完善账户信息吧！');
```

发送视图

```
Sendcloud::send('test@test.com','来自SendCloud的第一封邮件!',(string)(View::make('test')));
```

\#Installation

Require this package in your `composer.json` and update composer. This will download the package.

```
"zjango/sendcloud":"dev-master"
```

After updating composer, add the ServiceProvider to the providers array in `app/config/app.php`

```
'Zjango\Sendcloud\SendcloudServiceProvider',
```

You can use the facade for shorter code. Add this to your aliases:

```
'Sendcloud' 		=> 'Zjango\Sendcloud\Facades\SendcloudClass',
```

Add config

update file app/config/mail.php add config

```
	'sendcloud'=>array(
		'api_user'=>'Sendcloud的api_user',
		'api_key'=>'Sendcloud的api_key',
		'from_addr'=>'发信地址',
		'from_name'=>'服务',
	),
```

QA
==

[](#qa)

Q:这个doSend($to,$subject,$content)中$content能否是一个view呢

A:需要(string)转换一下.另外邮件发送函数为send. 发送View视图实例为

```
Sendcloud::send('test@test.com','来自SendCloud的第一封邮件!',(string)(View::make('test')));
```

License
=======

[](#license)

This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~0 days

Total

2

Last Release

3175d ago

Major Versions

4.2.0 → v5.4.02017-10-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9677640?v=4)[zjango](/maintainers/zjango)[@zjango](https://github.com/zjango)

---

Top Contributors

[![zjango](https://avatars.githubusercontent.com/u/9677640?v=4)](https://github.com/zjango "zjango (8 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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