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

ActiveMagento2-module

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(5y ago)05OSL-3.0HTMLPHP ~7.1.3||~7.2.0||~7.3.0

Since Jun 16Pushed 5y 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 6d 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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

2161d 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

[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

167930.4k5](/packages/yireo-magento2-googletagmanager2)[yireo/magento2-whoops

Magento 2 module adding Whoops error handling

102703.5k](/packages/yireo-magento2-whoops)[yireo/magento2-checkouttester2

Checkout Tester for Magento 2

93477.4k1](/packages/yireo-magento2-checkouttester2)[yireo/magento2-linkpreload

Magento 2 extension to set HTTP Link headers for primary resources to allow for HTTP/2 preloading

92343.7k1](/packages/yireo-magento2-linkpreload)[yireo/magento2-extensionchecker

Scan the code of a Magento module

96151.6k3](/packages/yireo-magento2-extensionchecker)

PHPackages © 2026

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