PHPackages                             gplcart/packer - 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. gplcart/packer

ActiveGplcart-module[Utility &amp; Helpers](/categories/utility)

gplcart/packer
==============

4D bin packing for GPLCart

01PHP

Since Mar 10Pushed 8y agoCompare

[ Source](https://github.com/gplcart/packer)[ Packagist](https://packagist.org/packages/gplcart/packer)[ RSS](/packages/gplcart-packer/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/29c5fca277cc475b0fe193f1e75f767c2ae853d15d3b1d08434efa2d101333b4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67706c636172742f7061636b65722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gplcart/packer/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ffe385eb3ae9477da3b31b3466cf7ee45e282217ae0a6197596cfb5d886045af/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67706c636172742f7061636b65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gplcart/packer/?branch=master)

Packer is a [GPL Cart](https://github.com/gplcart/gplcart) module that tries to solve "4D" bin packing/knapsack problem. Useful when you need to know box size/weight to calculate shipping costs. Allows to automatically define the number of boxes needed to fit all the products while adding a new order (saved under `$order['data']['packages']`). Administrators can also check whether a list of products fits into a box. Based on the [BoxPacker](https://github.com/dvdoug/BoxPacker) library.

**Installation**

This module requires 3-d party library which should be downloaded separately. You have to use [Composer](https://getcomposer.org) to download all the dependencies.

1. From your web root directory: `composer require gplcart/packer`. If the module was downloaded and placed into `system/modules` manually, run `composer update` to make sure that all 3-d party files are presented in the `vendor` directory.
2. Go to `admin/module/list` end enable the module
3. Grant module specific permissions at `admin/user/role`
4. Boxes are managed at `admin/settings/box`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/ad45895ef2d2867dc5294b7581948c79eef568001241d98eaf631bfe9fadeb63?d=identicon)[gplcart](/maintainers/gplcart)

---

Top Contributors

[![gplcart](https://avatars.githubusercontent.com/u/16158956?v=4)](https://github.com/gplcart "gplcart (8 commits)")

---

Tags

bin-packerbin-packingecommercegplcartgplcart-modulephpphp-shopping-cartshopping-cart

### Embed Badge

![Health badge](/badges/gplcart-packer/health.svg)

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

###  Alternatives

[axy/sourcemap

Work with JavaScript/CSS Source Map

25756.3k7](/packages/axy-sourcemap)[digital-creative/custom-relationship-field

Emulate HasMany relationship without having a real relationship set between resources

33251.6k](/packages/digital-creative-custom-relationship-field)

PHPackages © 2026

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