overtrue/laravel-sendcloud

SendCloud SDK for Laravel.

Maintainers

👁 overtrue

Package info

github.com/overtrue/laravel-sendcloud

pkg:composer/overtrue/laravel-sendcloud

Fund package maintenance!

overtrue

Statistics

Installs: 850

Dependents: 0

Suggesters: 0

Stars: 20

Open Issues: 0

1.3.0 2024-03-13 05:11 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT a5cacd901f3e2ef060a5d7638a152df87d6f3c87

  • overtrue <anzhengchao.woop@gmail.com>

This package is auto-updated.

Last update: 2026-06-16 04:10:21 UTC


README

Laravel SendCloud

SendCloud Mail SDK for Laravel.

👁 Laravel Octane Ready Status
👁 GitHub release (latest SemVer)
👁 GitHub License
👁 Packagist Downloads

👁 Sponsor me

Installing

$ composer require overtrue/laravel-sendcloud -vvv

Usage

  1. config your apiUser and apiKey into config/services.php:
 //...
 
 'sendcloud' => [
 'api_user' => env('SENDCLOUD_API_USER', ''),
 'api_key' => env('SENDCLOUD_API_KEY', ''),
 ],
  1. Call SendCloud API:
$result = SendCloud::post('/mail/send', [
 'from' => 'demo@DKDJzmUzrxCESzdCu5R.sendcloud.org',
 'to' => 'demo@easywechat.com',
 'subject' => '来自 SendCloud 的第一封邮件!',
 'html' => '你太棒了!你已成功的 从SendCloud 发送了一封测试邮件!',
 ]);
 
// or 

$result = app('sendcloud')->get('addresslist/list');

Documentation

❤️ Sponsor me

👁 Sponsor me

如果你喜欢我的项目并想支持它,点击这里 ❤️

Project supported by JetBrains

Many thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects.

👁 Image

PHP 扩展包开发

想知道如何从零开始构建 PHP 扩展包?

请关注我的实战课程,我会在此课程中分享一些扩展开发经验 —— 《PHP 扩展包实战教程 - 从入门到发布》

License

MIT