apo / customs-tariff
Maldives Customs service, tariff query library
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/apo/customs-tariff
Requires
- php: >=5.6.0
- symfony/css-selector: ^3.2
- symfony/dom-crawler: ^3.2
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2024-01-06 15:56:48 UTC
README
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();