PHPackages                             purocean/yii2-sendcloud-mailer - 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. purocean/yii2-sendcloud-mailer

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

purocean/yii2-sendcloud-mailer
==============================

A simple exclusive workflow lib

v0.0.2(9y ago)07MITPHPPHP &gt;=5.4.0

Since Feb 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/purocean/yii2-sendcloud-mailer)[ Packagist](https://packagist.org/packages/purocean/yii2-sendcloud-mailer)[ Docs](https://github.com/purocean/yii2-sendcloud-mailer)[ RSS](/packages/purocean-yii2-sendcloud-mailer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Yii2 Sendcloud Mailer
=====================

[](#yii2-sendcloud-mailer)

```
A sendcloud email component for yii2

```

Usage
-----

[](#usage)

```
// append to yii application config file.
    'components' => [
        // ...
        'mailer' => [
            'class'            => 'SendcloudMailer\Mailer',
            'viewPath'         => '@app/mail',
            'useFileTransport' => false,

            // sendcloud params
            'apiUser'          => 'xxxxx',
            'apiKey'           => 'xxxxx',
            'from'             => 'xxxxx@gmail.com',
            'fromName'         => 'xxxxx',
        ],
        // ...
    ]

// some php file
Yii::$app
    ->mailer
    ->compose(
        ['html' => 'template_html'],
        ['var' => 'HELLOWORLD!']
    )
    ->setTo('xxxxx@gmail.com')
    ->setCc('xxxxx@qq.com')
    ->setSubject('subject')
    ->send();
```

Test
----

[](#test)

```
cd test
vim test.php # config params
php test.php
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~10 days

Total

2

Last Release

3350d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/788b15496d4992227987785a659ea132c0d4b32b701a767c3820059e70bab73a?d=identicon)[purocean](/maintainers/purocean)

---

Top Contributors

[![purocean](https://avatars.githubusercontent.com/u/7115690?v=4)](https://github.com/purocean "purocean (3 commits)")

---

Tags

emailmaileryii2sendcloud

### Embed Badge

![Health badge](/badges/purocean-yii2-sendcloud-mailer/health.svg)

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

###  Alternatives

[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28160.6k](/packages/boundstate-yii2-mailgun)[yarcode/yii2-mailgun-mailer

Mailgun mailer implementation for Yii2

1576.0k](/packages/yarcode-yii2-mailgun-mailer)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

1816.3k](/packages/djagya-yii2-sparkpost)

PHPackages © 2026

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