PHPackages                             advertising-solutions/boxpacker-int-to-float - 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. advertising-solutions/boxpacker-int-to-float

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

advertising-solutions/boxpacker-int-to-float
============================================

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

04PHP

Since Nov 16Pushed 3y agoCompare

[ Source](https://github.com/Advertising-Solutions/BoxPacker-int-to-float)[ Packagist](https://packagist.org/packages/advertising-solutions/boxpacker-int-to-float)[ RSS](/packages/advertising-solutions-boxpacker-int-to-float/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.7% 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/2bad432eae41451b7d179b7a26b8ede7cbe788d20d9ee8fc6e2a550f70e5ccfd?d=identicon)[Griflongtin](/maintainers/Griflongtin)

---

Top Contributors

[![dvdoug](https://avatars.githubusercontent.com/u/1571110?v=4)](https://github.com/dvdoug "dvdoug (879 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![colinmollenhour](https://avatars.githubusercontent.com/u/38738?v=4)](https://github.com/colinmollenhour "colinmollenhour (7 commits)")[![Griflongtin](https://avatars.githubusercontent.com/u/24885593?v=4)](https://github.com/Griflongtin "Griflongtin (5 commits)")[![IBBoard](https://avatars.githubusercontent.com/u/388582?v=4)](https://github.com/IBBoard "IBBoard (4 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)")[![Garbee](https://avatars.githubusercontent.com/u/868301?v=4)](https://github.com/Garbee "Garbee (1 commits)")[![acabala](https://avatars.githubusercontent.com/u/530622?v=4)](https://github.com/acabala "acabala (1 commits)")

### Embed Badge

![Health badge](/badges/advertising-solutions-boxpacker-int-to-float/health.svg)

```
[![Health](https://phpackages.com/badges/advertising-solutions-boxpacker-int-to-float/health.svg)](https://phpackages.com/packages/advertising-solutions-boxpacker-int-to-float)
```

###  Alternatives

[prooph/php-cs-fixer-config

PHP CS Fixer config for prooph components

2474.8k65](/packages/prooph-php-cs-fixer-config)

PHPackages © 2026

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