PHPackages                             connectionsbv/yii2-smtp2go - 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. connectionsbv/yii2-smtp2go

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

connectionsbv/yii2-smtp2go
==========================

A library provides Yii2 integration with SMTP2GO mail service

0.0.5(1y ago)1102MITPHPPHP &gt;=8.0

Since Dec 12Pushed 1y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

SMTP2GO API Yii2 Mailer
=======================

[](#smtp2go-api-yii2-mailer)

Installation
------------

[](#installation)

```
    composer require connectionsbv/yii2-smtp2go

```

Usage
-----

[](#usage)

Add the following code in your application configuration:

```
return [
    //....
    'components' => [
        'mailer' => [
            'class' => 'connectionsbv\smtp2go\Mailer',
            'token' => 'YOUR_TOKEN',
        ],
    ],
];
```

### Send an email

[](#send-an-email)

You can then send an email as follows:

```
Yii::$app->mailer->compose()
    ->setFrom('from@domain.com')
    ->setTo($to)
    ->setSubject($from)
    ->send();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance41

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

5

Last Release

488d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f14a7d051b8e2566cf2331452b8a92f912a08ae50e6ce94105c417d6c0b48240?d=identicon)[dvanveen](/maintainers/dvanveen)

---

Top Contributors

[![dvanveen](https://avatars.githubusercontent.com/u/8996894?v=4)](https://github.com/dvanveen "dvanveen (5 commits)")

---

Tags

emailmaileryii2extensionyiismtp2go

### Embed Badge

![Health badge](/badges/connectionsbv-yii2-smtp2go/health.svg)

```
[![Health](https://phpackages.com/badges/connectionsbv-yii2-smtp2go/health.svg)](https://phpackages.com/packages/connectionsbv-yii2-smtp2go)
```

###  Alternatives

[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

1816.3k](/packages/djagya-yii2-sparkpost)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28160.6k](/packages/boundstate-yii2-mailgun)[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

87129.2k2](/packages/nterms-yii2-mailqueue)

PHPackages © 2026

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