PHPackages                             iop/magento2-widget - 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. iop/magento2-widget

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

iop/magento2-widget
===================

Magento 2 widget to show 'Frequently Ordered Products' and 'Recently Ordered Products' for B2B logged customer. GraphQL API added.

1.0.0(6y ago)05OSL-3.0HTMLPHP ~7.1.3||~7.2.0||~7.3.0

Since Jun 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/iop/magento2-widget)[ Packagist](https://packagist.org/packages/iop/magento2-widget)[ Docs](https://github.com/iop/magento2-widget)[ RSS](/packages/iop-magento2-widget/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Magento Module Iop\_Widget
==========================

[](#magento-module-iop_widget)

Tested on Version
-----------------

[](#tested-on-version)

- Magento 2.3.4

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

[](#main-functionalities)

- For B2B/B2C project widget to show 'Frequently Ordered Products' and 'Recently Ordered Products' for logged customer.
- Manage custom widget(s) with products content on Magento 2.
- Use API with GraphQL endpoint to get Widget Instance.

##### NOTE: Screencast (5.5Mb):  If screencast issue then try use other browser.

[](#note-screencast-55mb-httpswwwscreencastcomtxct8ftufdql--if-screencast-issue-then-try-use-other-browser)

### Features

[](#features)

- Create widget with specify to show product name | product image | product price | product link and product buttons \[add to shopping cart,add to compare,add to wishlist\].
- Specify via widget products quantity on frontend
- Specify via widget ordered products period (default: last 7 days products search)
- Added API with GraphQL endpoint to get Widget Instance, including it's rendered HTML.
- Supports Magento 2.0.0 and up

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

[](#installation)

#### With Composer

[](#with-composer)

Use the following commands to install this module into Magento 2:

```
composer require iop/magento2-widget
bin/magento module:enable Iop_Widget
bin/magento setup:upgrade

```

#### Manual (without composer)

[](#manual-without-composer)

These are the steps:

- Upload the files in the folder `app/code/Iop/Widget` of your site
- Run `php -f bin/magento module:enable Iop_Widget`
- Run `php -f bin/magento setup:upgrade`
- Flush the Magento cache
- Done

How to use it
-------------

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

Possibly GraphQL Query (https://your\_domain.test/graphql)
----------------------------------------------------------

[](#possibly-graphql-query-httpsyour_domaintestgraphql)

[![GraphQL_Playground](https://raw.githubusercontent.com/iop/widget/master/docs/GraphQL_Playground.png)](https://raw.githubusercontent.com/iop/widget/master/docs/GraphQL_Playground.png)

**Simple Query :**

```
{
    widgetById (id:2) {
        id
        title
        theme_id
        html
        parameters{
            name
            value
        }
   }
}
```

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95510d528c4f4c8fdb7a5d09274aed7dc8059c2c6f74a84db848acf322da2588?d=identicon)[iop](/maintainers/iop)

---

Top Contributors

[![iop](https://avatars.githubusercontent.com/u/818217?v=4)](https://github.com/iop "iop (1 commits)")

---

Tags

magentocomposer-installer

### Embed Badge

![Health badge](/badges/iop-magento2-widget/health.svg)

```
[![Health](https://phpackages.com/badges/iop-magento2-widget/health.svg)](https://phpackages.com/packages/iop-magento2-widget)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8034.8M53](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1142.0M17](/packages/mollie-magento2)[yireo/magento2-emailtester2

Preview transactional emails and test send them in your backend

34441.8k](/packages/yireo-magento2-emailtester2)[elgentos/module-prismicio

Magento 2 - Prismic.io integration

39121.1k4](/packages/elgentos-module-prismicio)[yireo/magento2-graph-ql-rate-limiting

Magento 2 module to add rate limiting to GraphQL resources

1422.4k](/packages/yireo-magento2-graph-ql-rate-limiting)[yireo/magento2-additional-endpoints-graph-ql

113.0k](/packages/yireo-magento2-additional-endpoints-graph-ql)

PHPackages © 2026

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