apo/customs-tariff

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

Maldives Customs service, tariff query library

1.0.1 2016-12-28 13:52 UTC

This package is not auto-updated.

Last update: 2024-01-06 15:56:48 UTC


README

Build Status

Maldives Customs tariff data query library using http://customs.gov.mv/SearchTariff

Installation

$ composer require apo/customs-tariff

Usage

    $ct =  new CustomsTariff('food');
    $ct->getList();
    $ct =  new CustomsTariff();
    $ct->search('almond');
    $ct->toJson();
    $ct =  new CustomsTariff();
    $ct->search('tuna');
    $ct->setLimit(10)
    $ct->toJson();
    $ct =  new CustomsTariff();
    $ct->findCode('0302310000');
    $ct->toJson();