PHPackages                             lastcaveman/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. lastcaveman/sendcloud

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

lastcaveman/sendcloud
=====================

00PHP

Since Aug 28Pushed 3y agoCompare

[ Source](https://github.com/lastcaveman/sendcloud)[ Packagist](https://packagist.org/packages/lastcaveman/sendcloud)[ RSS](/packages/lastcaveman-sendcloud/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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.

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

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

```
'Lastcaveman\Sendcloud\SendcloudServiceProvider',
```

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

```
'Sendcloud' 		=> 'Lastcaveman\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

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fe702c6adc8b855e5e495927155840dbdd99f3dfa61e64862552373dd4a15e9?d=identicon)[lastcaveman](/maintainers/lastcaveman)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)

PHPackages © 2026

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