PHPackages                             dadolun95/magento2-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. dadolun95/magento2-newsletter-coupon

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

dadolun95/magento2-newsletter-coupon
====================================

Magento2 Newsletter Coupon Generator

1.0.3(2y ago)91.7k—0%1OSL-3.0PHP

Since Nov 30Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/dadolun95/magento2-newsletter-coupon)[ Packagist](https://packagist.org/packages/dadolun95/magento2-newsletter-coupon)[ RSS](/packages/dadolun95-magento2-newsletter-coupon/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Dadolun\_NewsletterCoupon module for Magento 2 [![magento](https://avatars.githubusercontent.com/u/168457?s=40&v=4)](https://avatars.githubusercontent.com/u/168457?s=40&v=4)
=============================================================================================================================================================================

[](#dadolun_newslettercoupon-module-for-magento-2-)

ATTENTION!
----------

[](#attention)

This module is no longer maintained. NewsletterCoupon is now available as a Mage-OS module and moved [here](https://github.com/mage-os-lab/module-newsletter-coupon)

Features
--------

[](#features)

This module add features to Magento newsletter subscription

- 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; Dadolun &gt; Newsletter Coupon &gt; Coupon Expiration Expression*** config path.
- adds graft for integrations with email marketing platforms

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

[](#installation)

You can install this module adding it on app/code folder or with composer.

##### COMPOSER

[](#composer)

You need to require the package throught composer:

```
composer require dadolun95/magento2-newsletter-coupon

```

Then you'll need to enable the module and update your database:

```
php bin/magento module:enable Dadolun_NewsletterCoupon
php bin/magento setup:upgrade

```

##### SOURCE CODE

[](#source-code)

If you choose to add the module from source code instead of using composer you need to add module's files on your app/code folder. Then enable it and update the database:

```
php bin/magento module:enable Dadolun_NewsletterCoupon
php 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; Dadolun &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; Dadolun &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; Dadolun &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 Dadolun\_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 **Dadolun\\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

Contributing
------------

[](#contributing)

Contributions are very welcome. In order to contribute, please fork this repository and submit a [pull request](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~311 days

Total

4

Last Release

1055d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b5954eb97063d31291e987862ba4430556417d38a2081e1e1d1131303961e46?d=identicon)[dadolun95](/maintainers/dadolun95)

---

Top Contributors

[![dadolun95](https://avatars.githubusercontent.com/u/8927461?v=4)](https://github.com/dadolun95 "dadolun95 (16 commits)")

---

Tags

freemagentomagento2magento2-extensionmagento2-modulenewsletter-managementpromotionsphpmagentonewslettermagento2promotionscoupon

### Embed Badge

![Health badge](/badges/dadolun95-magento2-newsletter-coupon/health.svg)

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

###  Alternatives

[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14481.5k](/packages/opengento-module-gdpr)[opengento/module-saleable

This extension allows to set if a product is saleable and can show its price by scope and customer group.

136.9k](/packages/opengento-module-saleable)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)[collab/module-consent-mode

Cookie Consent Mode Popup Extension for Magento 2

121.8k](/packages/collab-module-consent-mode)

PHPackages © 2026

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