PHPackages                             magematch/magento2-inventory-alert - 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. magematch/magento2-inventory-alert

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

magematch/magento2-inventory-alert
==================================

Magento 2 module that monitors inventory thresholds and delivers scheduled low-stock digest emails to administrators.

v1.0.1(1mo ago)00MITPHPPHP &gt;=8.1CI passing

Since Apr 15Pushed 1mo agoCompare

[ Source](https://github.com/magematch/magento2-inventory-alert)[ Packagist](https://packagist.org/packages/magematch/magento2-inventory-alert)[ Docs](https://magematch.com)[ RSS](/packages/magematch-magento2-inventory-alert/feed)WikiDiscussions main Synced 1w ago

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

Inventory Alert for Magento 2
=============================

[](#inventory-alert-for-magento-2)

> Free, open-source Magento 2 extension
> by **Arjun Dhiman** — [Adobe Commerce Certified Master](https://magematch.com/developers/arjun-dhiman)
> Part of the [MageMatch](https://magematch.com)developer ecosystem

`MageMatch_LowStockNotification` monitors inventory thresholds and delivers a scheduled low-stock digest email to the configured admin recipient.

Features
--------

[](#features)

- Scans inventory using Magento's built-in reports low-stock collection.
- Delivers a digest email listing each at-risk product with name, SKU, and current quantity.
- Enable/disable toggle and recipient address configurable in admin.
- Swappable transactional email template.
- Zero legacy code — built on `DataPatchInterface`, constructor promotion, and `declare(strict_types=1)`.
- Compatible with Magento 2.4.4+ and PHP 8.1 through 8.4.

Configuration
-------------

[](#configuration)

In admin, go to:

`Stores > Configuration > Catalog > Inventory > Stock Notification Email Setting`

Configure:

- **Enable**
- **Email Template**
- **Admin Email Address**

Cron
----

[](#cron)

- Cron group: `stock_notification_cron_group`
- Job: `low_stock_notification_cronjob`
- Schedule: every minute (`*/1 * * * *`)

You can adjust the schedule in `etc/crontab.xml`.

Module Structure
----------------

[](#module-structure)

- `Cron/Notification.php` builds low-stock data and triggers notification emails.
- `Helper/Email.php` handles transport/template email sending.
- `etc/adminhtml/system.xml` defines admin configuration fields.
- `etc/crontab.xml` and `etc/cron_groups.xml` define cron scheduling.
- `etc/email_templates.xml` registers the transactional email template.
- `view/frontend/email/stock_notification.html` is the default email template.

CI Matrix
---------

[](#ci-matrix)

This repository includes a GitHub Actions workflow at `.github/workflows/ci.yml`.

Validation runs on:

- PHP `8.2`
- PHP `8.4`

It validates Composer metadata, PHP syntax, and XML well-formedness.

### Install commands by environment

[](#install-commands-by-environment)

Stable production install:

```
composer require magematch/magento2-inventory-alert:^1.0
```

Staging/dev install (before first stable tag is visible):

```
composer require magematch/magento2-inventory-alert:"dev-main@dev"
```

---

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

[](#installation)

```
composer require magematch/magento2-inventory-alert
bin/magento module:enable MageMatch_InventoryAlert
bin/magento setup:upgrade
bin/magento cache:clean
```

Compatibility
-------------

[](#compatibility)

- Magento Open Source 2.4.x
- Adobe Commerce 2.4.x
- PHP 8.1, 8.2, 8.3

Support &amp; Custom Development
--------------------------------

[](#support--custom-development)

Need custom Magento development?
Find vetted Adobe Commerce developers at
**[magematch.com](https://magematch.com)**

License
-------

[](#license)

MIT License — free to use commercially

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Every ~9 days

Total

2

Last Release

45d ago

PHP version history (2 changes)v1.0.0PHP ^8.1 || ^8.2 || ^8.3 || ^8.4

v1.0.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/25de70104e0bb9357f7dc83de70315741d4b04931f7104e96f48e0b0e7b32ee8?d=identicon)[arjundhi](/maintainers/arjundhi)

---

Top Contributors

[![aiopsgroup](https://avatars.githubusercontent.com/u/131590932?v=4)](https://github.com/aiopsgroup "aiopsgroup (8 commits)")

### Embed Badge

![Health badge](/badges/magematch-magento2-inventory-alert/health.svg)

```
[![Health](https://phpackages.com/badges/magematch-magento2-inventory-alert/health.svg)](https://phpackages.com/packages/magematch-magento2-inventory-alert)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2852.6M](/packages/elgentos-regenerate-catalog-urls)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1859.0k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.9k](/packages/magepal-magento2-form-field-manager)[mage-os/module-llm-txt

AI-powered LLMs.txt generation for Magento 2 / Mage-OS stores. Help AI systems understand your store with OpenAI-generated content.

223.3k](/packages/mage-os-module-llm-txt)

PHPackages © 2026

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