This package is abandoned and no longer maintained. No replacement package was suggested.

A consumer for axado API.

v2.0.0 2017-09-04 17:48 UTC


Scrutinizer Code Quality Coverage Status Build Status Build Status StyleCI

A wrapper to Axado API.


To get started, install Laravel Axado API via the Composer package manager:

composer require leroy-merlin-br/laravel-axado-api


Make your Product class implement VolumeInterface. Optionally, you can use VolumeTrait too. For example:

class Product implements Axado\Volume\VolumeInterface {
    use Axado\Volume\VolumeTrait;

    public function getSku()       { return "123"; }
    public function getQuantity()  { return 10; }
    public function getPriceUnit() { return 10.5; }
    public function getHeight()    { return 10; }
    public function getLength()    { return 10; }
    public function getWidth()     { return 10; }
    public function getWeight()    { return 10; }


  • Setting the Token API.

    \Axado\Shipping::$token = "your-token";
  • Creating a new Shipping

    $shipping = new Axado\Shipping();
  • Adding Volume

    $volume = new Product();
  • Getting all quotations

  • Getting costs and deadline

    $shipping->getCosts();      // in reais
    $shipping->getDeadline();   // in days