ecom-systems / boxpacker
An implementation of the 3D (actually 4D) bin packing/knapsack problem (aka creating parcels by putting items into boxes)
Fund package maintenance!
dvdoug
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
pkg:composer/ecom-systems/boxpacker
Requires (Dev)
- behat/behat: ^3.7
- dvdoug/behat-code-coverage: ^5.0
- friendsofphp/php-cs-fixer: ^3.0
- monolog/monolog: ^1.0||^2.0
- phpunit/phpunit: ^7.5.20||^8.5.13||^9.5.0
This package is auto-updated.
Last update: 2025-10-05 07:35:42 UTC
README
An implementation of the "4D" bin packing/knapsack problem i.e. given a list of items, how many boxes do you need to fit them all in taking into account physical dimensions and weights.
Especially useful for e.g. e-commerce contexts when you need to know box size/weight to calculate shipping costs, or even just want to know the right number of labels to print.
See documentation for more details.
License
BoxPacker is MIT-licensed.