PHPackages                             mageplaza/module-loyalty-program-graphql - 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. [API Development](/categories/api)
4. /
5. mageplaza/module-loyalty-program-graphql

ActiveMagento2-module[API Development](/categories/api)

mageplaza/module-loyalty-program-graphql
========================================

Magento 2 Loyalty Program Graphql Extension

1.0.0(5y ago)01.2kproprietaryPHP

Since Dec 17Pushed 5y ago5 watchersCompare

[ Source](https://github.com/mageplaza/magento-2-loyalty-program-graphql)[ Packagist](https://packagist.org/packages/mageplaza/module-loyalty-program-graphql)[ RSS](/packages/mageplaza-module-loyalty-program-graphql/feed)WikiDiscussions master Synced 3w ago

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

Magento 2 Loyalty Program GraphQL/PWA
=====================================

[](#magento-2-loyalty-program-graphqlpwa)

**Magento 2 Loyalty Program GraphQL is now a part of the Mageplaza Loyalty Program extension that adds GraphQL features to your Magento 2 stores. This supports PWA compatibility.**

[Mageplaza Loyalty Program for Magento 2](https://www.mageplaza.com/magento-2-loyalty-program/) brings a useful way to retain customers and build their loyalty. Besides multiple exclusive discount programs, the module enables you to do more for your customers to keep them connected to your brand.

It’s easy to create discount programs based on your customers’ order status and customer attributes. From the admin backend, you can create special discounts and apply them to the customers whose orders match the conditions you set. The conditions can be set based on the number of orders, total order amount, the average order amount, order status, purchase history, and more. The extension is integrated with Mageplaza Customer Attributes so you can create discounts according to customer attributes which are more specialized to your customers.

When implementing loyalty programs, you can keep in touch with customers by sending them emails that confirm their successful loyalty programs or the expiration of their participation. These emails will be a bridge between you and your customers that help you keep them active and interested in joining and following the loyalty program.

In addition to that, you can create an intuitive loyalty program page in each customer’ account. On this page, customers can view the details of loyalty programs and relevant order statistics. They can update the expiration dates of their loyalty programs here by looking at the estimated expiration date so it’s more flexible to use the discounts before it’s gone. Customers can also choose to receive email notifications about their loyalty programs or not right on this page.

With this app, loyalty program management becomes much easier. All your loyalty programs will be organized in a grid which displays their name, status, number of customers, rules, expiration dates, and more. You can create new programs here and edit each program right away with a few clicks.

Building and maintaining customer loyalty is important for any online business. With Mageplaza Loyalty Program, this will be much easier as you can create loyalty programs in a faster and more efficient way.

1. How to install
-----------------

[](#1-how-to-install)

Run the following command in Magento 2 root folder:

```
composer require mageplaza/module-loyalty-program-graphql
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

**Note:**Magento 2 Loyalty Program GraphQL requires installing [Mageplaza Loyalty Program](https://www.mageplaza.com/magento-2-loyalty-program/) in your Magento installation.

2. How to use
-------------

[](#2-how-to-use)

To perform GraphQL queries in Magento, please do the following requirements:

- Use Magento 2.3.x or higher. Set your site to [developer mode](https://www.mageplaza.com/devdocs/enable-disable-developer-mode-magento-2.html).
- Set GraphQL endpoint as `http:///graphql` in url box, click **Set endpoint**. (e.g. `http://dev.site.com/graphql`)
- To view the queries that the **Mageplaza Loyalty Program GraphQL** extension supports, you can look in `Docs > Query` in the right corner

3. Devdocs
----------

[](#3-devdocs)

- [Magento 2 Loyalty Program API &amp; examples](https://documenter.getpostman.com/view/10589000/T1DmEepF?version=latest)
- [Magento 2 Loyalty Program GraphQL &amp; examples](https://documenter.getpostman.com/view/10589000/TVsrEoVD)

4. Contribute to this module
----------------------------

[](#4-contribute-to-this-module)

Feel free to **Fork** and contribute to this module. You can create a pull request so we will merge your changes main branch.

5. Get Support
--------------

[](#5-get-support)

- Feel free to [contact us](https://www.mageplaza.com/contact.html) if you have any further questions.
- If you like this project, please give us a **Star** [![star](https://camo.githubusercontent.com/ccfd05f7d28636d95a2b75c75567ef6df2f29f02f913234e692ea748b3032981/68747470733a2f2f692e696d6775722e636f6d2f5338653063744f2e706e67)](https://camo.githubusercontent.com/ccfd05f7d28636d95a2b75c75567ef6df2f29f02f913234e692ea748b3032981/68747470733a2f2f692e696d6775722e636f6d2f5338653063744f2e706e67)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2015d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dabfafb9dd7125a58b633f92f75a43a556f577128b59e2e1416d7ef6ab213ca?d=identicon)[ngovanvinh](/maintainers/ngovanvinh)

---

Top Contributors

[![bichnn06](https://avatars.githubusercontent.com/u/51898883?v=4)](https://github.com/bichnn06 "bichnn06 (3 commits)")[![LuongNgoDoan](https://avatars.githubusercontent.com/u/41365097?v=4)](https://github.com/LuongNgoDoan "LuongNgoDoan (3 commits)")[![ngovanvinh](https://avatars.githubusercontent.com/u/26913816?v=4)](https://github.com/ngovanvinh "ngovanvinh (1 commits)")

---

Tags

graphqlloyalty-programmagentomagento-installationpwa

### Embed Badge

![Health badge](/badges/mageplaza-module-loyalty-program-graphql/health.svg)

```
[![Health](https://phpackages.com/badges/mageplaza-module-loyalty-program-graphql/health.svg)](https://phpackages.com/packages/mageplaza-module-loyalty-program-graphql)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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