PHPackages                             byte8/module-stock-radar-hyva - 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. byte8/module-stock-radar-hyva

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

byte8/module-stock-radar-hyva
=============================

Hyva theme compatibility for Byte8 Stock Radar — Alpine.js back-in-stock form, no jQuery/RequireJS.

001HTML

Since Apr 26Pushed 1mo agoCompare

[ Source](https://github.com/byte8io/magento-stock-radar-hyva)[ Packagist](https://packagist.org/packages/byte8/module-stock-radar-hyva)[ RSS](/packages/byte8-module-stock-radar-hyva/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Stock Radar — Hyva compatibility
================================

[](#stock-radar--hyva-compatibility)

Companion module to `byte8/module-stock-radar` that swaps the Luma RequireJS template for an Alpine.js + Tailwind variant. Uses `hyva.getFormKey()` for CSRF and reads variant SKU updates from a `byte8:stockradar:variant` window event so configurable PDPs subscribe to the right simple SKU.

Install
-------

[](#install)

```
composer require byte8/module-stock-radar-hyva
bin/magento module:enable Byte8_StockRadarHyva
bin/magento setup:upgrade
```

Both `byte8/module-stock-radar` and `hyva-themes/magento2-theme-module` must be installed and enabled.

What this module does (and doesn't)
-----------------------------------

[](#what-this-module-does-and-doesnt)

- ✅ Swaps the PDP "Notify me" template to a Hyva variant
- ✅ Zero new admin or backend code
- ❌ No new business logic — all validation, dispatch, and email sending lives in the parent module

Wiring variant SKU into the form
--------------------------------

[](#wiring-variant-sku-into-the-form)

If the PDP is configurable, dispatch the variant SKU when the user picks options:

```
window.dispatchEvent(new CustomEvent('byte8:stockradar:variant', { detail: selectedSimpleSku }));
```

Hyva swatches and select renderers can hook into the `private-content-loaded` event or the swatch click handler to fire this.

Support
-------

[](#support)

Byte8 Ltd —

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance60

Regular maintenance activity

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/612c19aab21c48e9c7d11d11eab8863b9473743c6ab7335aeb5a1424129b46cc?d=identicon)[softcom](/maintainers/softcom)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/byte8-module-stock-radar-hyva/health.svg)

```
[![Health](https://phpackages.com/badges/byte8-module-stock-radar-hyva/health.svg)](https://phpackages.com/packages/byte8-module-stock-radar-hyva)
```

PHPackages © 2026

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