The recommended way to install BoxPacker is to use Composer. From the command line simply execute the following to add dvdoug/boxpacker to your project’s composer.json file. Composer will automatically take care of downloading the source and configuring an autoloader:

composer require dvdoug/boxpacker

If you don’t want to use Composer, the code is available to download from GitHub


BoxPacker v3 is compatible with PHP 7.1+


Still running an older version of PHP? No problem! BoxPacker v2 is compatible with PHP 5.4 and up, is just as production-ready, and is actively maintained.


BoxPacker follows Semantic Versioning. For details about differences between releases please see What’s new