Class MyBox

This is a very simple class that can calculate volumetric weight of a package.

It takes the dimension of a package defined by its width, height and depth, and computes the volumetric weight.

The class displays the volumetric weight of the package expressed either in Kg or pounds.

Volumetric weight is way to calculate the cost of shipping a package by mail.

This class provides a PHP solution to calculate the volumetric weight of package from its dimensions.

Manuel Lemos

Download this class