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 v4 is compatible with PHP 8.2+


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