factory/shape-logistics (0.3.2)
Published 2026-08-16 13:48:10 +00:00 by bmiadmin
Installation
{
"repositories": [{
"type": "composer",
"url": " "
}
]
}composer require factory/shape-logistics:0.3.2About this package
Shape B: order-delivery. Orders with pickup/delivery legs and weighed items, kernel FSM lifecycle (DeliWash, PetWorld delivery).
factory/shape-logistics — v0.1.0
Shape B — store fulfils an order, a rider moves it (DeliWash; PetWorld's delivery half). Orders carry pickup/delivery legs (address + lat/lng + schedule + completion) and weighed items, and run the product's configured lifecycle through the kernel FSM (audited, fail-closed).
Endpoints (all under /api)
| Method | Path | Body / notes | Response |
|---|---|---|---|
| GET | /orders | per X-User-Ref |
{ok, data:[Order], meta} |
| POST | /orders | price_minor, legs:[{kind, address, lat?, lng?, scheduled_label?}], items:[{name, qty?, weight_grams?, unit_price_minor?}]? |
flat Order, 201 |
| GET | /orders/{id} | flat Order | |
| PATCH | /orders/{id} | status (guarded forward-only) |
flat Order |
| POST | /orders/{id}/legs/{legId}/complete | idempotent | flat Leg |
Tables: logi_orders, logi_order_legs, logi_order_items (product-scoped
via logi_orders.product_slug).
Dependencies
Dependencies
| ID | Version |
|---|---|
| factory/auth | ^0.3 || ^0.4 || ^0.5 || ^0.6 |
| factory/infra | ^0.1 || ^0.2 || ^0.3 |
| factory/kernel | ^0.4 || ^0.5 || ^0.6 || ^0.7 || ^0.8 || ^0.9 || ^0.10 |
| illuminate/database | ^10.0 || ^11.0 || ^12.0 || ^13.0 |
| illuminate/routing | ^10.0 || ^11.0 || ^12.0 || ^13.0 |
| illuminate/support | ^10.0 || ^11.0 || ^12.0 || ^13.0 |
| php | ^8.2 |
Development dependencies
| ID | Version |
|---|---|
| orchestra/testbench | ^8.0 || ^9.0 || ^10.0 || ^11.0 |
| phpunit/phpunit | ^10.1 || ^11.0 || ^12.0 |
Details
2026-08-16 13:48:10 +00:00
Assets (1)
Versions (3)
View all
Composer
32
proprietary
24 KiB