PHPackages                             mageplaza/module-promo-bar-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-promo-bar-graphql

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

mageplaza/module-promo-bar-graphql
==================================

Magento 2 Promo Bar GraphQl Extension

1.0.0(5y ago)16.4k↓28.6%proprietaryPHP

Since Nov 25Pushed 5y ago4 watchersCompare

[ Source](https://github.com/mageplaza/magento-2-promo-bar-graphql)[ Packagist](https://packagist.org/packages/mageplaza/module-promo-bar-graphql)[ RSS](/packages/mageplaza-module-promo-bar-graphql/feed)WikiDiscussions master Synced 1mo ago

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

Magento 2 Promo Bar GraphQL/PWA
===============================

[](#magento-2-promo-bar-graphqlpwa)

**Magento 2 Promo Bar GraphQL is now a part of the Mageplaza Promo Bar extension that adds GraphQL features. The extension enables getting and pushing data on the website with GraphQL. And this incredibly supports PWA Studio.**

[Mageplaza Promo Bar for Magento 2](https://www.mageplaza.com/magento-2-promo-bar/) enables online store owners to get their customers updated and well-informed about any promotion campaigns, discounts, or events on the store. This is an effective way to create customer engagement by drawing their attention at first.

With the help of this extension, you can create and display unlimited promo banners on any page of your website. Because you might run different campaigns at the same time, this feature is incredibly helpful to notify customers about all your promotions at the same place without confusing them by including them all in a long text announcement.

Besides, from the admin backend, you can set the conditions based on the cart or product conditions to display promo bars. You set the conditions at the backend configuration and the conditions are met, the related promo banners will be shown. For example, when customers add an item in a specific category to their cart, the promo banner of this category will be visible to them. In addition, the store admins can also set up the promo banners for conditions according to different periods. Then when a specific period comes, the corresponding promo bar will be activated automatically.

Though the raw function of a promo banner is to notify customers about promotions or special offers, it should be visually-attractive enough to draw customers’ attention and make them curious about the content behind the banner. Fortunately, the Mageplaza Promo Bar extension makes it easy for you to customize the promo banners to your own style. Accordingly, you can choose all elements for your promo banners, including content, URL, text color, background color, URL text background color, and more.

In addition, because you can show multiple promo banners at once, it can be a bit confusing and messy if the promo banners are not displayed appropriately in turn. Therefore, the extension enables you to display the promo banners in slider mode or separately. This will make your promo banners appear in a more organized and easy-to-see way.

How to install
--------------

[](#how-to-install)

Run the following command in Magento 2 root folder:

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

```

**Note:**Mageplaza Promo Bar GraphQL requires installing [Mageplaza Promo Bar](https://www.mageplaza.com/magento-2-promo-bar/) 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 Promo Bar GraphQL** extension supports, you can look in `Docs > Query` in the right corner

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

[](#3-devdocs)

- [Magento 2 Promo Bar API &amp; examples](https://documenter.getpostman.com/view/10589000/TVKEXxWj)
- [Magento 2 Promo Bar GraphQL &amp; examples](https://documenter.getpostman.com/view/10589000/TVepA8tv)

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 this project is helpful for you, please give us a **Star** [![star](https://camo.githubusercontent.com/ccfd05f7d28636d95a2b75c75567ef6df2f29f02f913234e692ea748b3032981/68747470733a2f2f692e696d6775722e636f6d2f5338653063744f2e706e67)](https://camo.githubusercontent.com/ccfd05f7d28636d95a2b75c75567ef6df2f29f02f913234e692ea748b3032981/68747470733a2f2f692e696d6775722e636f6d2f5338653063744f2e706e67)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

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

2000d 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)")[![Tuvpt](https://avatars.githubusercontent.com/u/32826247?v=4)](https://github.com/Tuvpt "Tuvpt (3 commits)")[![JackerNgo](https://avatars.githubusercontent.com/u/19358665?v=4)](https://github.com/JackerNgo "JackerNgo (2 commits)")

---

Tags

graphqlmagentomagento-installationmageplazapromo-barpwa

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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