rk/taxify 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rk/taxify

最新稳定版本:2.3.1

Composer 安装命令:

composer require rk/taxify

包简介

Connect your website with Taxify's API. Originally zaycon/taxify.

关键字:

README 文档

README

Connect your website with the Taxify API

Table of Contents

Fork Notes

It looked like the original ZayconTaxify library was abandoned a few years ago at the time of writing this. We needed to support Taxify in a project, and it has been an adventure. The biggest challenge has been finding adequate documentation for the Taxify API itself.

This fork/alternative is derived from the original source of ZayconTaxify and differs enough to be its own implementation now. I've bumped the version to 2.0 to prevent any accidental installs of this package.

Major changes:

  • Require PHP 8.0.

  • Support PSR-4 autoloading.

  • Support for PSR Logging when debug mode is enabled.

  • Upgrade PHPUnit to v9 for development

  • Decoupled the common "request" object into individual requests:

    • VerifyAddress
    • CalculateTax
    • CommitTaxRequest
    • CancelTaxRequest
    • GetCodesRequest
  • Decoupled the common "response" object into individual responses:

    • VerifyAddressResponse
    • CalculateTax
    • CommitTaxResponse
    • CancelTaxResponse
    • GetCodesResponse
  • Refactored to make better use of traits and type hinting

Installation

Add rk/taxify to your composer.json file. (We're not currently published to packagist.)

{
  "require": {
    "rk/taxify": "^2.0"
  },
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/rk/taxify.git"
    }
  ]
}

Documentation

OUTDATED

Please see tests for the most up-to-date usage.

About

Originally developed by Zaycon Fresh.

This version revised, refactored, and updated for PHP 8 by Robert Kosek. Development time and effort is a courtesy of Enforme Interactive.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-18