No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
data
examples
spec/MediaLab/Shipping
src/MediaLab/Shipping
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock

README.md

Shipping

Shipping cost estimation library.

Build Status

Installation

The recommended way to install Shipping is through composer:

{
    "require": {
        "101medialab/shipping": "~1.0"
    }
}

Usage

/* @var Sylius\Component\Shipping\Model\ShipmentInterface $shipment */
/* @var Sylius\Component\Addressing\Model\AddressInterface $source, $destination */

$calculator = new MediaLab\Shipping\Calculator\FedExCalculator($key, $password, $accountNumber, $meterNumber);
$calculator->calculate($source, $destination, $shipment);

License

101medialab shipping is licensed under the MIT License - see the LICENSE file for details.