PHPackages                             ethercreative/yii2-sendgrid-unsubscribe - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ethercreative/yii2-sendgrid-unsubscribe

AbandonedArchivedYii2-module[Utility &amp; Helpers](/categories/utility)

ethercreative/yii2-sendgrid-unsubscribe
=======================================

A Yii2 module to easily provide public unsubscribe urls with suppression group support.

1.0.0(10y ago)171[2 issues](https://github.com/ethercreative/yii2-sendgrid-unsubscribe/issues)MITPHP

Since Mar 16Pushed 10y ago2 watchersCompare

[ Source](https://github.com/ethercreative/yii2-sendgrid-unsubscribe)[ Packagist](https://packagist.org/packages/ethercreative/yii2-sendgrid-unsubscribe)[ RSS](/packages/ethercreative-yii2-sendgrid-unsubscribe/feed)WikiDiscussions master Synced 2mo ago

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

yii2-sendgrid-unsubscribe
=========================

[](#yii2-sendgrid-unsubscribe)

A Yii2 module to easily provide public unsubscribe urls with suppression group support.

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

[](#installation)

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

Either run

```
php composer.phar require ethercretaive/yii2-sendgrid-unsubscribe "~1.0.0"

```

or add

```
"ethercreative/yii2-sendgrid-unsubscribe": "~1.0.0"

```

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

Usage
-----

[](#usage)

This plugin assumes you are using [shershennm/yii2-sendgrid](https://github.com/shershennm/yii2-sendgrid)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
	'modules' => [
		'unsubscribe' => [
			'class' => 'ethercreative\unsubscribe\Module',

			// the following are optional

			// default group to unsubscribe from
			'default' => 70,

			// flash message options
			'flashMessage' => 'Your email address has successfully been unsubscribed',
			'flashGroup' => 'unsubscribe-success',

			// where to redirect to, after success
			// defaults to `Url::home()`
			'redirect' => ['/site/login'],

			// if you want to hide the IDs of your suppression groups, use `groups` to convert
			// the following will allow you to use
			//     `?email=email@address.com&group=messages`
			//     `?email=email@address.com&group=Y30JOMJjA7V7bcAC`
			'groups' => [
				'messages' => 70,
				'Y30JOMJjA7V7bcAC' => 80,
			],
		],
		// ...
	],
	// ...
];
```

You can then generate links to `/unsubscribe/?email={email}&group={id/key}`

```
Url::to(['/unsubscribe', 'email' => $email, 'group' => $group], true);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

3709d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/807df0a17d1291238650a6652a05231e0eecc1e7236480762cbb674a6fe61198?d=identicon)[mattether](/maintainers/mattether)

---

Tags

sendgridyii2module

### Embed Badge

![Health badge](/badges/ethercreative-yii2-sendgrid-unsubscribe/health.svg)

```
[![Health](https://phpackages.com/badges/ethercreative-yii2-sendgrid-unsubscribe/health.svg)](https://phpackages.com/packages/ethercreative-yii2-sendgrid-unsubscribe)
```

###  Alternatives

[branchonline/yii2-lightbox

Lightbox widget for Yii2

13139.0k1](/packages/branchonline-yii2-lightbox)[akiraz2/yii2-ticket-support

Yii2 Support Ticket Module, easy, flexible, fast

611.7k](/packages/akiraz2-yii2-ticket-support)[hiqdev/yii2-language

Yii2 module for language switching

1126.1k1](/packages/hiqdev-yii2-language)[vova07/yii2-start-comments-module

The comments module for Yii2-Start application.

159.5k1](/packages/vova07-yii2-start-comments-module)

PHPackages © 2026

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