PHPackages                             mage-os/module-newsletter-coupon - 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. mage-os/module-newsletter-coupon

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

mage-os/module-newsletter-coupon
================================

MageOS Newsletter Coupon Generator

1.1.0(1mo ago)91652MITPHPPHP ^8.1

Since May 20Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/mage-os-lab/module-newsletter-coupon)[ Packagist](https://packagist.org/packages/mage-os/module-newsletter-coupon)[ RSS](/packages/mage-os-module-newsletter-coupon/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

MageOS Newsletter Coupon Generator Module for Magento
=====================================================

[](#mageos-newsletter-coupon-generator-module-for-magento)

Add automatically generated coupon management for newsletter subscribers

---

Overview
--------

[](#overview)

The **Newsletter Coupon** module allows you to generate a unique coupon for each newsletter subscriber. The coupon will be sent to the subscriber’s email after the subscription.

Features
--------

[](#features)

This module add features to newsletter subscription module

- generate a coupon for each subscription (must be a "SPECIFIC" coupon type salesrule with "Use Auto Generation" enabled)
- send coupon informations to the subscribed user (extending magento newsletter email template)
- controls each coupon expiration. You can change default configuration at ***Store &gt; Configuration &gt; MageOS &gt; Newsletter Coupon &gt; Coupon Expiration Expression*** config path.
- adds graft for integrations with email marketing platforms

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

[](#installation)

1. Install it into your Mage-OS/Magento 2 project with composer:

    ```
    composer require mage-os/module-newsletter-coupon

    ```
2. Enable module

    ```
    bin/magento setup:upgrade

    ```

Configuration
-------------

[](#configuration)

This module comes with standard functionality disabled. You'll need to enable it from configurations on ***Store &gt; Configuration &gt; MageOS &gt; Newsletter Coupon &gt; Enable Coupon Generation*** and connect a valid salesrule. You can set the expiration delay time expression you prefer () on ***Store &gt; Configuration &gt; MageOS &gt; Newsletter Coupon &gt; Coupon Expiration Delay*** path. This will allow you to generate and link coupon on each new user newsletter subscription. So create a new SalesRule from your admin panel on **Marketing &gt; Promotions &gt; Cart Price Rules** calling it "Newsletter Subscription promo" or something like this. Remember that this salesrule must have "SPECIFIC" coupon type and "Use Auto Generation" checkbox must be flagged. Expiration coupon control comes from the module for each coupon adding regular expression setted on each coupon creation date. Set the other rule's settings as you like. Set the new rule id on ***Store &gt; Configuration &gt; MageOS &gt; Newsletter Coupon &gt; Used Sales Rule***.

Integrations
------------

[](#integrations)

You can create, delete or update subscriber informations on external platforms with a new module linked with mageOS\_NewsletterCoupon. Requirements:

- if you've installed a 3rd party module that send newsletter email remember to disable magento's from ***Store &gt; Configuration &gt; Customers &gt; Newsletter &gt; Subscription Options &gt; Disable Newsletter \* Sending*** config path.
- extend **MageOS\\NewsletterCoupon\\Model\\AbstractNewsletterIntegration** class on your module adding logic on methods.
- inject your new **Vendor\_Module\\Model\\MyClassName** with a di argument preference like this:

```

            Vendor\Module\Model\MyClassName

```

- That's all, your module is now able to talk with your favorite email marketing platform

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance90

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

47d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/100189073?v=4)[Mage-OS](/maintainers/mage-os-ci)[@mage-os-ci](https://github.com/mage-os-ci)

---

Top Contributors

[![dadolun95](https://avatars.githubusercontent.com/u/8927461?v=4)](https://github.com/dadolun95 "dadolun95 (2 commits)")[![aleron75](https://avatars.githubusercontent.com/u/1199894?v=4)](https://github.com/aleron75 "aleron75 (1 commits)")[![indykoning](https://avatars.githubusercontent.com/u/15870933?v=4)](https://github.com/indykoning "indykoning (1 commits)")[![rhoerr](https://avatars.githubusercontent.com/u/13335952?v=4)](https://github.com/rhoerr "rhoerr (1 commits)")

---

Tags

couponmage-osmage-os-extensionmagentomagento-modulemagento2magento2-extensionmagento2-modulenewslettersales

### Embed Badge

![Health badge](/badges/mage-os-module-newsletter-coupon/health.svg)

```
[![Health](https://phpackages.com/badges/mage-os-module-newsletter-coupon/health.svg)](https://phpackages.com/packages/mage-os-module-newsletter-coupon)
```

###  Alternatives

[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14686.0k](/packages/opengento-module-gdpr)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19131.4k](/packages/imi-magento2-friendly-captcha)

PHPackages © 2026

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