PHPackages                             waytonoway/mailer-ses-v4 - 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. waytonoway/mailer-ses-v4

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

waytonoway/mailer-ses-v4
========================

Extension for sending emails via amazon ses V4

v1.3.0(5y ago)0123MITPHPPHP &gt;=7.2.0

Since May 2Pushed 5y agoCompare

[ Source](https://github.com/waytonoway/mailer-ses-v4)[ Packagist](https://packagist.org/packages/waytonoway/mailer-ses-v4)[ RSS](/packages/waytonoway-mailer-ses-v4/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (8)Used By (0)

Amazon ses extension for Yii2
=============================

[](#amazon-ses-extension-for-yii2)

Extension for sending emails via amazon ses v4. (based on daniel-zahariev/php-aws-ses)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist waytonoway/mailer-ses-v4

```

or add

```
"waytonoway/mailer-ses-v4": "1.0.0"

```

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

Usage
-----

[](#usage)

To use this extension, you should configure it in the application configuration like the following:

```
'components' => [
    ...
    'mail' => [
        'class' => 'waytonoway\ses\Mailer',
        'access_key' => 'Your access key',
        'secret_key' => 'Your secret key',
        'host' => 'email.us-east-1.amazonaws.com' // not required
    ],
    ...
],
```

To send an email, you may use the following code:

```
Yii::$app->mail->compose('contact/html', ['contactForm' => $form])
    ->setFrom('from@domain.com')
    ->setTo($form->email)
    ->setSubject($form->subject)
    ->send();
```

To send an email with headers, you may use the following code:

```
Yii::$app->mail->compose('contact/html', ['contactForm' => $form])
    ->setFrom('from@domain.com')
    ->setTo($form->email)
    ->setSubject($form->subject)
    ->setHeader('Precedence', 'bulk')
    ->setHeader('List-id', '')
    ->setHeader('List-Unsubscribe', Url::to(['user/unsubscribe'], true))
    ->send();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~423 days

Recently: every ~397 days

Total

7

Last Release

1906d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16236916?v=4)[Katya Bogdanova](/maintainers/waytonoway)[@waytonoway](https://github.com/waytonoway)

---

Top Contributors

[![ofat](https://avatars.githubusercontent.com/u/1476004?v=4)](https://github.com/ofat "ofat (12 commits)")[![daniel-zahariev](https://avatars.githubusercontent.com/u/263063?v=4)](https://github.com/daniel-zahariev "daniel-zahariev (4 commits)")[![evaldemar](https://avatars.githubusercontent.com/u/3917590?v=4)](https://github.com/evaldemar "evaldemar (4 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

awsyii2extensionsesv4

### Embed Badge

![Health badge](/badges/waytonoway-mailer-ses-v4/health.svg)

```
[![Health](https://phpackages.com/badges/waytonoway-mailer-ses-v4/health.svg)](https://phpackages.com/packages/waytonoway-mailer-ses-v4)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[nterms/yii2-mailqueue

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

84135.6k2](/packages/nterms-yii2-mailqueue)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28165.8k](/packages/boundstate-yii2-mailgun)[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.

1689.5k](/packages/odaialali-yii2-toastr)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

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

PHPackages © 2026

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