PHPackages                             ecom-systems/boxpacker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ecom-systems/boxpacker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ecom-systems/boxpacker
======================

An implementation of the 3D (actually 4D) bin packing/knapsack problem (aka creating parcels by putting items into boxes)

015[2 PRs](https://github.com/ServiceSector/BoxPackerAPI/pulls)PHP

Since Apr 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ServiceSector/BoxPackerAPI)[ Packagist](https://packagist.org/packages/ecom-systems/boxpacker)[ RSS](/packages/ecom-systems-boxpacker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

BoxPacker
=========

[](#boxpacker)

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](https://boxpacker.io/) for more details.

[![Build Status](https://github.com/dvdoug/BoxPacker/workflows/CI/badge.svg?branch=3.x)](https://github.com/dvdoug/BoxPacker/actions?query=workflow%3ACI+branch%3A3.x)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b900b4c6813dcea4b695d8ce897667f28b4e585ffffce431004815e9a29868d0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6476646f75672f426f785061636b65722f6261646765732f7175616c6974792d73636f72652e706e673f623d332e78)](https://scrutinizer-ci.com/g/dvdoug/BoxPacker/?branch=3.x)[![Download count](https://camo.githubusercontent.com/0882d3a471549012067e264260784c9975caf1be1926d1e3460b6a8c6d02560c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6476646f75672f626f787061636b65722e737667)](https://packagist.org/packages/dvdoug/boxpacker)[![Current version](https://camo.githubusercontent.com/819de336bc554a20123272625bde1a792edd2b99135ac74a2c148df9a2eeec9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6476646f75672f626f787061636b65722e737667)](https://packagist.org/packages/dvdoug/boxpacker)[![Documentation](https://camo.githubusercontent.com/39ecc6f9a850e65cb65af89123d62eece69ccf4b550c3e45e5037ffad7fb58b6/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f626f787061636b65722f62616467652f3f76657273696f6e3d332e78)](https://www.boxpacker.io/en/3.x/)

License
-------

[](#license)

BoxPacker is MIT-licensed.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/05d017b3ea48c1a2573c53bcb655726c5812a28b0a83e9a88ae8ea953be2877c?d=identicon)[ecom-systems](/maintainers/ecom-systems)

---

Top Contributors

[![ServiceSector](https://avatars.githubusercontent.com/u/45568595?v=4)](https://github.com/ServiceSector "ServiceSector (9 commits)")

### Embed Badge

![Health badge](/badges/ecom-systems-boxpacker/health.svg)

```
[![Health](https://phpackages.com/badges/ecom-systems-boxpacker/health.svg)](https://phpackages.com/packages/ecom-systems-boxpacker)
```

###  Alternatives

[grrr-amsterdam/garp-functional

Utility library embracing functional programming paradigms.

32116.1k5](/packages/grrr-amsterdam-garp-functional)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
