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](http://boxpacker.readthedocs.io/en/2.x/) for more details.

[![Build Status](https://travis-ci.org/dvdoug/BoxPacker.svg?branch=2.x)](https://travis-ci.org/dvdoug/BoxPacker)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dvdoug/BoxPacker/badges/quality-score.png?b=2.x)](https://scrutinizer-ci.com/g/dvdoug/BoxPacker/?branch=2.x)
[![Download count](https://img.shields.io/packagist/dt/dvdoug/boxpacker.svg)](https://packagist.org/packages/dvdoug/boxpacker)
[![Current version](https://img.shields.io/packagist/v/dvdoug/boxpacker.svg)](https://packagist.org/packages/dvdoug/boxpacker)
[![Documentation](https://readthedocs.org/projects/boxpacker/badge/?version=2.x)](https://boxpacker.readthedocs.io/en/2.x/?badge=2.x)

Requirements
------------

* PHP version 5.4 or higher

License
-------
BoxPacker is MIT-licensed. 
