PHPackages                             prasanth-gandiva/yii2-yashop-ses - 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. prasanth-gandiva/yii2-yashop-ses

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

prasanth-gandiva/yii2-yashop-ses
================================

Extension for sending emails via amazon ses

v1.0.2(10y ago)231.2k↓23.5%2MITPHP

Since May 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/prasanthsGandiva/yii2-ses)[ Packagist](https://packagist.org/packages/prasanth-gandiva/yii2-yashop-ses)[ RSS](/packages/prasanth-gandiva-yii2-yashop-ses/feed)WikiDiscussions master Synced 1mo ago

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

Amazon ses extension for Yii2 with Attachment File URL
======================================================

[](#amazon-ses-extension-for-yii2-with-attachment-file-url)

Extension for sending emails via amazon ses. Part of YaShop

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist prasanth-gandiva/yii2-yashop-ses "*"

```

or add

```
"prasanth-gandiva/yii2-yashop-ses": "*"

```

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' => 'yashop\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 attachment file url, you may use the following code:

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~362 days

Total

3

Last Release

3674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/19c564f80b672339e43b775d0135234faa2239ca7ca447d17122f130e411f22d?d=identicon)[prasanth](/maintainers/prasanth)

---

Top Contributors

[![ofat](https://avatars.githubusercontent.com/u/1476004?v=4)](https://github.com/ofat "ofat (10 commits)")[![daniel-zahariev](https://avatars.githubusercontent.com/u/263063?v=4)](https://github.com/daniel-zahariev "daniel-zahariev (4 commits)")[![prasanthsGandiva](https://avatars.githubusercontent.com/u/6808354?v=4)](https://github.com/prasanthsGandiva "prasanthsGandiva (2 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![kushalhalder](https://avatars.githubusercontent.com/u/5244062?v=4)](https://github.com/kushalhalder "kushalhalder (1 commits)")

---

Tags

awsyii2extensionses

### Embed Badge

![Health badge](/badges/prasanth-gandiva-yii2-yashop-ses/health.svg)

```
[![Health](https://phpackages.com/badges/prasanth-gandiva-yii2-yashop-ses/health.svg)](https://phpackages.com/packages/prasanth-gandiva-yii2-yashop-ses)
```

###  Alternatives

[nterms/yii2-mailqueue

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

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

Mailgun integration for the Yii framework

28160.6k](/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.

1486.3k](/packages/odaialali-yii2-toastr)[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)
