PHPackages                             landofcoder/module-seller-coupon-graph-ql - 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. landofcoder/module-seller-coupon-graph-ql

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

landofcoder/module-seller-coupon-graph-ql
=========================================

Coupon code generation for Seller Items

1.0.2(3y ago)04GPL-3.0PHP

Since Apr 5Pushed 3y agoCompare

[ Source](https://github.com/landofcoder/module-seller-coupon-graph-ql)[ Packagist](https://packagist.org/packages/landofcoder/module-seller-coupon-graph-ql)[ RSS](/packages/landofcoder-module-seller-coupon-graph-ql/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (7)Used By (0)

Magento 2 Coupon Code Marketplace Addon
=======================================

[](#magento-2-coupon-code-marketplace-addon)

```
``landofcoder/module-seller-coupon-graph-ql``

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)

Main Functionalities
--------------------

[](#main-functionalities)

- Seller Coupon
- The module allow Seller create sales rule, generate coupon code for customer via email
- Customer will purchase seller's products and apply his coupon code to get discount price.

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

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in `app/code/Lofmp`
- Enable the module by running `php bin/magento module:enable Lofmp_CouponCodeGraphQl`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Make the module available in a composer repository for example:
    - private repository `repo.magento.com`
    - public repository `packagist.org`
    - public github repository as vcs
- Add the composer repository to the configuration by running `composer config repositories.repo.magento.com composer https://repo.magento.com/`
- Install the module composer by running `composer require landofcoder/module-seller-coupon-graph-ql`
- enable the module by running `php bin/magento module:enable Lofmp_CouponCodeGraphQl`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Queries

[](#queries)

1. My Coupon Codes

```
{
    myCouponCode (
        type: "all
        filters: {}
        pageSize: 10
        currentPage: 1
    ) {
        total_count
        items {
            coupon_id
            name
            alias
            code
            from_date
            to_date
            uses_per_customer
            discount_amount
            type
            times_used
            created_at
            expiration_date
            coupon_rule {
                rule_id
                rule_name
                discount_amount
            }
            seller_id
            seller {
                seller_id
                shop_title
                thumbnail
                url
            }
        }
    }
}

```

2. Get seller public coupon codes

```
{
    sellerCoupons (
        sellerUrl: String!
        filters: {}
        pageSize: 5
        currentPage: 1
    ) {
        total_count
        items {
            coupon_id
            name
            alias
            code
            from_date
            to_date
            uses_per_customer
            discount_amount
            type
            times_used
            created_at
            expiration_date
            coupon_rule {
                rule_id
                rule_name
                discount_amount
            }
            seller_id
            seller {
                seller_id
                shop_title
                thumbnail
                url
            }
        }
    }
}

```

3. Get public coupon codes

```
{
    publicCouponCode (
        type: String
        filters: {}
        pageSize: 5
        currentPage: 1
    ) {
        total_count
        items {
            coupon_id
            name
            alias
            code
            from_date
            to_date
            uses_per_customer
            discount_amount
            type
            times_used
            created_at
            expiration_date
            coupon_rule {
                rule_id
                rule_name
                discount_amount
            }
            seller_id
            seller {
                seller_id
                shop_title
                thumbnail
                url
            }
        }
    }
}

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95% 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 ~68 days

Total

3

Last Release

1361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/db448e930f6e4cb8da91a337027d8b11645732d24ede2a46c5844967a395ca1e?d=identicon)[landofcoder](/maintainers/landofcoder)

---

Top Contributors

[![landofcoder](https://avatars.githubusercontent.com/u/194975?v=4)](https://github.com/landofcoder "landofcoder (19 commits)")[![fergusdinh](https://avatars.githubusercontent.com/u/99378450?v=4)](https://github.com/fergusdinh "fergusdinh (1 commits)")

### Embed Badge

![Health badge](/badges/landofcoder-module-seller-coupon-graph-ql/health.svg)

```
[![Health](https://phpackages.com/badges/landofcoder-module-seller-coupon-graph-ql/health.svg)](https://phpackages.com/packages/landofcoder-module-seller-coupon-graph-ql)
```

###  Alternatives

[mirazmac/dotenvwriter

A PHP library to write values to .env (DotEnv) files

19129.3k7](/packages/mirazmac-dotenvwriter)[joegreen0991/config

Config component based on laravel's

233.3k](/packages/joegreen0991-config)

PHPackages © 2026

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