Download the PHP package mes-stocktake/engine without Composer
On this page you can find all versions of the php package mes-stocktake/engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mes-stocktake/engine
More information about mes-stocktake/engine
Files in mes-stocktake/engine
Package engine
Short Description WIP and finished-goods stocktake rule engine for small metalworking shops
License Apache-2.0
Homepage https://github.com/chavarriaannemarie739-boop/mes-stocktake-engine
Informations about the package engine
mes-stocktake-engine
Open-source WIP / finished-goods stocktake rule engine for small and mid-size metalworking shops.
Most inventory libraries stop at warehouses, lots, and FIFO. Shops that cut round bar and machine gears still hand-match four fields, guess process loss, and split WIP by whoever shouted last. This package is that missing rule layer: no database, no ERP screens, no customer data.
Rule notes
What it does
| Rule | Use |
|---|---|
| Round-bar four-field match | Material + diameter + length + optional heat no, with tolerances |
| Finished-goods lookup | Spec / model search after shop-floor normalization (80×120×15 = 80x120x15) |
| Stocktake projection | Book qty ± configurable loss (shrink_remaining, process_yield, consume_uplift) |
| WIP split | Break one WIP qty into process rows by work-report share |
| Bar weight | GB-style round steel kg from diameter × length |
Requirements
- PHP 8.1+
- Composer
Install
Until the package is on Packagist, require the GitHub repository:
Quick start
Demo
The demo plant is fictional Acme Metal Bar Works. It is not a real factory.
Design boundaries
This repository is a rule engine, not an ERP.
In scope: matching, projection, WIP split, weight, tests, a runnable demo.
Out of scope: payroll, equipment, menus, mini-programs, live shop Excel, server credentials, or any named customer plant.
Host applications (private MES/ERP) can depend on this package over Composer. Production use is evidence that the rules are maintained; customer names do not belong in this repo.
Versioning
SemVer. v0.1.0 is the first tagged public API.
License
Apache-2.0
Contributing
See SECURITY.md before opening issues or PRs.