2017 © Pedro Peláez
 

library laravel-sendcloud

SendCloud SDK for Laravel.

image

overtrue/laravel-sendcloud

SendCloud SDK for Laravel.

  • Tuesday, February 27, 2018
  • by overtrue
  • Repository
  • 1 Watchers
  • 13 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Laravel SendCloud, (*1)

SendCloud Mail SDK for Laravel., (*2)

Laravel Octane Ready Status GitHub release (latest SemVer) GitHub License Packagist Downloads, (*3)

Sponsor me, (*4)

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

:heart: Sponsor me

Sponsor me, (*5)

如果你喜欢我的项目并想支持它,点击这里 :heart:, (*6)

Project supported by JetBrains

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

, (*8)

PHP 扩展包开发

想知道如何从零开始构建 PHP 扩展包?, (*9)

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

License

MIT, (*11)

The Versions

27/02 2018

dev-master

9999999-dev

SendCloud SDK for Laravel.

  Sources   Download

MIT

The Requires

 

by Avatar overtrue

22/12 2017

1.0.0

1.0.0.0

SendCloud SDK for Laravel.

  Sources   Download

MIT

The Requires

 

by Avatar overtrue