PHPackages                             racem/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. racem/boxpacker

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

racem/boxpacker
===============

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

v4.0.0(3y ago)03MITPHPPHP ^8.1

Since Oct 15Pushed 3y agoCompare

[ Source](https://github.com/ecomleader/BinPacker)[ Packagist](https://packagist.org/packages/racem/boxpacker)[ GitHub Sponsors](https://github.com/dvdoug)[ RSS](/packages/racem-boxpacker/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

BoxPacker
=========

[](#boxpacker)

[![Build Status](https://github.com/dvdoug/BoxPacker/workflows/CI/badge.svg?branch=master)](https://github.com/dvdoug/BoxPacker/actions?query=workflow%3ACI+branch%3Amaster)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/35b88393903ba53de0467244cbc8d1971302e19c5c94ed047a2927b892b779b7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6476646f75672f426f785061636b65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dvdoug/BoxPacker/?branch=master)[![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/f6681940cd4047dff44facc25bded67a3b1016fcae32970586a9a9a90aa9e31d/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f626f787061636b65722f62616467652f3f76657273696f6e3d737461626c65)](https://www.boxpacker.io/en/stable/)

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.

License
-------

[](#license)

BoxPacker is MIT-licensed.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1356d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3294b3182bc3eda1e66a9ff1413e393f0697a958edc015a7ad20bfb7a239b9b6?d=identicon)[racem](/maintainers/racem)

---

Top Contributors

[![dvdoug](https://avatars.githubusercontent.com/u/1571110?v=4)](https://github.com/dvdoug "dvdoug (879 commits)")[![racemshipper](https://avatars.githubusercontent.com/u/67289624?v=4)](https://github.com/racemshipper "racemshipper (13 commits)")[![colinmollenhour](https://avatars.githubusercontent.com/u/38738?v=4)](https://github.com/colinmollenhour "colinmollenhour (7 commits)")[![IBBoard](https://avatars.githubusercontent.com/u/388582?v=4)](https://github.com/IBBoard "IBBoard (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![Cosmologist](https://avatars.githubusercontent.com/u/966525?v=4)](https://github.com/Cosmologist "Cosmologist (2 commits)")[![bram123](https://avatars.githubusercontent.com/u/7457368?v=4)](https://github.com/bram123 "bram123 (2 commits)")[![acabala](https://avatars.githubusercontent.com/u/530622?v=4)](https://github.com/acabala "acabala (1 commits)")[![Garbee](https://avatars.githubusercontent.com/u/868301?v=4)](https://github.com/Garbee "Garbee (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514139.2M690](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k51](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M208](/packages/illuminate-broadcasting)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

368116.8k12](/packages/logiscape-mcp-sdk-php)

PHPackages © 2026

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