PHPackages                             zaycon/taxify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zaycon/taxify

ActiveLibrary[API Development](/categories/api)

zaycon/taxify
=============

Connect your website with Taxify's API.

1.0.2(9y ago)54.3k5[1 issues](https://github.com/ZayconFoods/taxify/issues)MITPHPPHP &gt;=5.3

Since Nov 4Pushed 9y ago7 watchersCompare

[ Source](https://github.com/ZayconFoods/taxify)[ Packagist](https://packagist.org/packages/zaycon/taxify)[ Docs](https://github.com/ZayconFoods/taxify)[ RSS](/packages/zaycon-taxify/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

ZayconTaxify
============

[](#zaycontaxify)

[![Latest Stable Version](https://camo.githubusercontent.com/bd10365b9fb0c75e5ba4a2dfef507857cb521aa95aa95f5b704d6fba58b9445a/68747470733a2f2f706f7365722e707567782e6f72672f7a6179636f6e2f7461786966792f762f737461626c65)](https://packagist.org/packages/zaycon/taxify)[![Total Downloads](https://camo.githubusercontent.com/2772e09227d4f06b3ecb46f2821fa158d63057405a3925c77067d7a9ad6ac1a0/68747470733a2f2f706f7365722e707567782e6f72672f7a6179636f6e2f7461786966792f646f776e6c6f616473)](https://packagist.org/packages/zaycon/taxify)[![Build Status](https://camo.githubusercontent.com/a4b320f74fa54725e29841d8effd11e03e1c6dd030a74aedf335419f0d540a4d/68747470733a2f2f7472617669732d63692e6f72672f5a6179636f6e466f6f64732f7461786966792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ZayconFoods/taxify)[![Coverage Status](https://camo.githubusercontent.com/ebb45a7642dc09b968ed2eb8639bea6ad66a43aa26bcc8a4c258c6ddd5320bc1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f5a6179636f6e466f6f64732f7461786966792f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/ZayconFoods/taxify?branch=master)

Connect your website with the [Taxify](https://www.taxify.co) API

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#install)
- [Documentation](#documentation)
- [About](#about)

Installation
-----------------------------------------------

[](#installation)

Add ZayconTaxify to your `composer.json` file. If you are not using [Composer](http://getcomposer.org), you should be. It's an excellent way to manage dependencies in your PHP application.

```
{
  "require": {
    "zaycon/taxify": "1.0.*"
  }
}
```

Documentation
------------------------------------------------------

[](#documentation)

### Initialize Your Object

[](#initialize-your-object)

```
$taxify = new ZayconTaxify\Taxify( '[YOUR_API_KEY]', ZayconTaxify\Taxify::ENV_DEV, TRUE );
```

### Calculate Tax

[](#calculate-tax)

```
$origin_address = new ZayconTaxify\Address();
$origin_address
    ->setStreet1( '16201 E Indiana Ave' )
    ->setCity( 'Spokane Valley' )
    ->setState( 'WA' )
    ->setPostalCode( '99216' );

$destination_address = new ZayconTaxify\Address();
$destination_address
    ->setStreet1( '16201 E Indiana Ave' )
    ->setCity( 'Spokane Valley' )
    ->setState( 'WA' )
    ->setPostalCode( '99216' );

$line = new ZayconTaxify\TaxLine();
$line
    ->setQuantity( 1 )
    ->setItemKey( 'SKU001' )
    ->setActualExtendedPrice( 100 )
    ->setItemDescription( 'Some Product' )
    ->setItemTaxabilityCode( ZayconTaxify\Code::CODE_FOOD );

$tax = new ZayconTaxify\Tax( $taxify );
$tax
    ->setDocumentKey( 'Order001' )
    ->setTaxDate( time() )
    ->setIsCommitted( TRUE )
    ->setOriginAddress( $origin_address )
    ->setDestinationAddress( $destination_address )
    ->addLine( $line );
$tax_response = $tax->calculateTax();
```

### Commit Tax

[](#commit-tax)

```
$tax = new ZayconTaxify\Tax( $taxify );
$tax->setDocumentKey( 'Order001' );
$tax_response = $tax->commitTax();
```

### Cancel Tax

[](#cancel-tax)

```
$tax = new ZayconTaxify\Tax( $taxify );
$tax->setDocumentKey( 'Order001' );
$tax_response = $tax->cancelTax();
```

### Verify Address

[](#verify-address)

```
$address = new ZayconTaxify\Address( $taxify );
$address
	->setStreet1( '16201 E Indiana Ave' )
	->setCity( 'Spokane Valley' )
	->setState( 'WA' )
	->setPostalCode( '99216' )
	->verifyAddress();
```

### Get Codes

[](#get-codes)

```
$account = new ZayconTaxify\Account( $taxify );
$code_types = $account->getCodes();
```

About
--------------------------------------

[](#about)

Developed by [Zaycon Fresh](https://www.zayconfresh.com)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~221 days

Total

3

Last Release

3452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ddf0051bf4852dd3c5466e1d65b5a14572b60d15a7c03d5c464f3c1185518c9e?d=identicon)[TonyDeStefano](/maintainers/TonyDeStefano)

![](https://www.gravatar.com/avatar/c07d84a3c9281be9b80f093d08b49392da253edeb602ba05311cecc2c5d61848?d=identicon)[zaycon](/maintainers/zaycon)

![](https://www.gravatar.com/avatar/8cfc0a7dd99d243468ada6a6943014bdaea4ee048f41502fa78536315752d02f?d=identicon)[ethanf22](/maintainers/ethanf22)

![](https://www.gravatar.com/avatar/d4e0d052ee7f9b3ee1b736fcbdb47e826f58d32e06b7005d870b2967a80f794d?d=identicon)[oddsyntax](/maintainers/oddsyntax)

![](https://www.gravatar.com/avatar/bd4b0870eef275f32b18d490388ff1e5ff220393b86439d5978e27d840821599?d=identicon)[simonds](/maintainers/simonds)

---

Top Contributors

[![TonyDeStefano](https://avatars.githubusercontent.com/u/5439786?v=4)](https://github.com/TonyDeStefano "TonyDeStefano (33 commits)")[![ethanf22](https://avatars.githubusercontent.com/u/4087531?v=4)](https://github.com/ethanf22 "ethanf22 (11 commits)")

---

Tags

taxify

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zaycon-taxify/health.svg)

```
[![Health](https://phpackages.com/badges/zaycon-taxify/health.svg)](https://phpackages.com/packages/zaycon-taxify)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
