PHPackages                             deno028/yii2-mailersend - 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. deno028/yii2-mailersend

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

deno028/yii2-mailersend
=======================

Yii2 Extension for Mailersend

1.0.2(3y ago)01MITPHP

Since Apr 12Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (5)Used By (0)

Yii2 Extension for Mailersend
=============================

[](#yii2-extension-for-mailersend)

Yii2 Extension for Mailersend

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist deno028/yii2-mailersend "*"

```

or add

```
"deno028/yii2-mailersend": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
 * Mailer implements a mailer based on MailerSend.
 *
 * To use Mailer, you should configure it in the application configuration like the following,
 *
 * ~~~
 * 'components' => [
 *     ...
 *     'mailer' => [
 *         'class' => 'deno028\mailersend\Mailer',
 *         'key' => 'key-example',
 *     ],
 *     ...
 * ],
 * ~~~
 *
 * To send an email, you may use the following code:
 *
 * ~~~
 * Yii::$app->mailer->compose('contact/html', ['contactForm' => $form])
 *     ->setFrom('from@domain.com')
 *     ->setTo($form->email)
 *     ->setSubject($form->subject)
 *     ->send();
 * ~~~

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

1124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c32130fa724b9da3413d4b4816dd8e4ee7f2951dc68d7423066baeecec07966?d=identicon)[deno028](/maintainers/deno028)

---

Top Contributors

[![deno028](https://avatars.githubusercontent.com/u/4360556?v=4)](https://github.com/deno028 "deno028 (1 commits)")

---

Tags

yii2extensionmailersend

### Embed Badge

![Health badge](/badges/deno028-yii2-mailersend/health.svg)

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

###  Alternatives

[nterms/yii2-mailqueue

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

87129.2k2](/packages/nterms-yii2-mailqueue)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1486.3k](/packages/odaialali-yii2-toastr)

PHPackages © 2026

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