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

ActiveYii2-extension

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 1mo ago

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 54% 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

1855d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca3b1e67a954346dcb1ef5d4768a9150198a9fd6992439361aa9730ba2839150?d=identicon)[waytonoway](/maintainers/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

[fedemotta/yii2-aws-sdk

This extension provides the AWS SDK integration for the Yii2 framework

15430.4k2](/packages/fedemotta-yii2-aws-sdk)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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