thetaxrate/ttr-php-composer

Simple Sales Tax Rate API

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/thetaxrate/ttr-php-composer

v1.0.0 2022-01-02 19:15 UTC

This package is auto-updated.

Last update: 2026-01-04 10:39:51 UTC


README

The purpose of this package is to make integration with thetaxrate sales tax api multi easier with composer.

Installation

Via Composer

$ composer require thetaxrate/ttr-php-composer

Usage

Latest Documentation Can be found at Site Documentation

You will need to Obtain an API token from thetaxrate.com users portal.

<?php

namespace {
    use TheTaxRate\SalesTaxService;

    function main() {
        $service = new SalesTaxService('API_TOKEN');
        $response = $service->getTaxRate('90210');
        $saleTaxRate = $response->getRate();
    }
}

Security

If you discover any security related issues, please submit a PR.

License

license. Please see the license file for more information.