Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

BoxPacker

> 编程语言
Open source

4D bin packing / knapsack problem solver

656 stars0 likes0 views
WebsiteGitHub

About

4D bin packing / knapsack problem solver

BoxPacker

An implementation of the 3D bin packing problem with weight as a fourth constraint: given items and a catalogue of boxes, how many cartons do you need, and what goes in each?

The same engine can also fill a single container (pallet, trailer, ocean box) as densely as possible and leave the rest unpacked.

Typical uses: e-commerce cartonization and shipping-cost calculation, warehouse box selection, and one-container load planning.

  • Your own Item/Box objects (no wrapper DTOs)
  • Rotation: any way up, keep-flat, or none
  • Weight limits and automatic weight balancing across cartons
  • Limited box stock, linked items, custom placement rules
  • Packed x/y/z coordinates and a 3D visualiser

Requires PHP 8.2+. composer require dvdoug/boxpacker

See documentation for more details.

License

BoxPacker is MIT-licensed.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPbinpackingboxpackerknapsack-problemphp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言