PHPackages                             yireo-training/magento2-example-modal - 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. yireo-training/magento2-example-modal

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

yireo-training/magento2-example-modal
=====================================

0.0.1(9y ago)10126OSL-3.0JavaScriptPHP &gt;=5.6.0

Since Jan 14Pushed 5y ago2 watchersCompare

[ Source](https://github.com/yireo-training/magento2-example-modal)[ Packagist](https://packagist.org/packages/yireo-training/magento2-example-modal)[ RSS](/packages/yireo-training-magento2-example-modal/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

ExampleModal module for Magento 2
=================================

[](#examplemodal-module-for-magento-2)

This repository contains a Magento 2 module that illustrates the usage of RequireJS and a simple JS component, that makes use of the Magento 2 modal widget.

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

[](#installation)

To install use the following composer command:

```
composer require yireo-training/magento2-example-modal:dev-master

```

Next enable the module:

```
bin/magento module:enable Yireo_ExampleModal
bin/magento setup:upgrade

```

And flush the cache:

```
bin/magento cache:clean

```

Proof of concept
================

[](#proof-of-concept)

After installing the module, the main container should contain a button that pops up the modal.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

3403d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a6a4e3ec0e7f3a8d2d223c90c5545319fc0a382afd3bc10cd910fedc0fa8f5d?d=identicon)[yireo-training](/maintainers/yireo-training)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (13 commits)")

---

Tags

magentocomposer-installer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yireo-training-magento2-example-modal/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-training-magento2-example-modal/health.svg)](https://phpackages.com/packages/yireo-training-magento2-example-modal)
```

###  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)[magento/magento-composer-installer

Composer installer for Magento modules

7523.3M318](/packages/magento-magento-composer-installer)[magento-hackathon/magento-composer-installer

Composer installer for Magento modules

214757.6k374](/packages/magento-hackathon-magento-composer-installer)[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)
