USE CASE / WAREHOUSE-PACKING

Warehouse packing: fill crates, priced per crate

One SKU, a known quantity, more than one crate size. You want the real crate count and its cost, not a volume estimate.

WHEN YOU NEED THIS

Replenishment and put-away planning for one SKU at a time, where the question is a crate count and a cost, not a placement diagram.

A quantity expands one item declaration into that many physical units for the search; the container's own weight and its payload capacity are the same two fields the request contract uses everywhere else, so switching crate sizes is a data change, not a code change.

SHOWN IN PHP
use Packvium\Config\PackingConfig;
use Packvium\Domain\{Container, Dimensions, Item};
use Packvium\Packer;

$items = [
    Item::create('bin', Dimensions::mm('300', '200', '200'),
        weight: '4 kg', quantity: 40),
];
$containers = [
    Container::create('crate', Dimensions::mm('600', '400', '400'),
        tareWeight: '3 kg', maxPayload: '80 kg', costMinor: 250),
];

$result = (new Packer(PackingConfig::balanced()))->pack($items, $containers);

echo $result->status->value, ' ', count($result->containers), " crate(s)\n";
WHAT COMES BACK

The result names exactly how many crates the 40 bins need and the placements inside each one - the number to put in a quote, not an estimate to double-check by hand.

THE PACKED RESULT, IN 3D
30×10×10 · 33.3% used
crate × 1
WHAT A REFUSAL LOOKS LIKE HERE
warehouse-packingInferred

It needs another container and the inventory ran out container_inventory_exhausted

Raise the bin count past what the declared crate quantity can hold and the extra units come back with container_inventory_exhausted rather than a silent drop - the plan says it needs another crate instead of pretending the last one had room.

WHAT CHANGES IN YOUR PROCESS
TODAY
  • Crate counts for replenishment are worked out on a calculator from volume, which ignores how cartons actually fit.
  • Too few crates are staged and the put-away stalls, or too many are staged and floor space is wasted.
  • The cost of a replenishment move is known only after it is done.
WITH PACKVIUM
  • The crate count comes from a real arrangement of the cartons, not a volume ratio.
  • Exactly the crates the move needs are staged, with each crate's contents known in advance.
  • The cost of the move is priced per crate before anyone lifts a carton.
WHAT TO MEASURE
  • Crates staged against crates used
  • Put-away moves that stalled for lack of crates
  • Cost per replenishment move

Run a month of past orders through the same request and compare these numbers with what you actually shipped. That comparison, on your own data, is the only figure worth quoting.

WHY PACKVIUM

A put-away plan is only as good as the crate count behind it. Packvium turns a quantity and a crate size into an exact count and a cost, from the same request fields every other scenario on this site uses.

Open this request
INSTALL
composer require packvium/packvium