PHPackages                             nemke82/inventoryoptimization - 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. [Database &amp; ORM](/categories/database)
4. /
5. nemke82/inventoryoptimization

ActiveMagento2-module[Database &amp; ORM](/categories/database)

nemke82/inventoryoptimization
=============================

Module that optimize inventory\_reservation table

1.0.1-stable(3y ago)161MITPHP

Since Apr 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nemke82/inventoryoptimization)[ Packagist](https://packagist.org/packages/nemke82/inventoryoptimization)[ RSS](/packages/nemke82-inventoryoptimization/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Module Nemke82 InventoryOptimization
====================================

[](#module-nemke82-inventoryoptimization)

```
``nemke82/module-inventoryoptimization``

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)
- [Configuration](#markdown-header-configuration)
- [Specifications](#markdown-header-specifications)
- [Attributes](#markdown-header-attributes)

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

[](#main-functionalities)

Module that optimize inventory\_reservation table by adding Materilized View and aggregated table. It also rewrite Magento\\Inventory\\Model\\ResourceModel\\GetReservationsQuantity Core functionality by calling view with agreggated data.

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

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in `app/code/Nemke82`
- Enable the module by running `php bin/magento module:enable Nemke82_InventoryOptimization`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Install the module composer by running `composer require nemke82/module-inventoryoptimization`
- enable the module by running `php bin/magento module:enable Nemke82_InventoryOptimization`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush

PHP Unit test available with the following command:

```
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/nemke82/inventoryoptimization/Test/Unit/Plugin/Model/GetReservationsQuantityPluginTest.php

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

1129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a2048b7fe6ed6b50131737b68973caabe920e6b0c5e2a0ee42f0f8387a2f168?d=identicon)[nemke82](/maintainers/nemke82)

---

Top Contributors

[![nemke82](https://avatars.githubusercontent.com/u/22136088?v=4)](https://github.com/nemke82 "nemke82 (5 commits)")

### Embed Badge

![Health badge](/badges/nemke82-inventoryoptimization/health.svg)

```
[![Health](https://phpackages.com/badges/nemke82-inventoryoptimization/health.svg)](https://phpackages.com/packages/nemke82-inventoryoptimization)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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