This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
Standalone-ize
This is a fork of mpociot/vat-calculator
. Waiting too long for merging some of my PRs (like driesvints#72) and the need to remove Norway from EU VAT countries were the main reasons for forking the lib. Thanks Marcel Pociot for your work on the lib!
Here are the changes:
- Version 3 doesn't support Laravel/Cashier anymore (BC BREAK).
- The namespace has been changed for this fork from to
Spaze\VatCalculator
(BC BREAK) getIPBasedCountry()
&getClientIP()
methods have been removed (BC BREAK)- Some methods have been properly camelCased (
shouldCollectVAT
->shouldCollectVat
) VATCheckUnavailableException
has been camelCased toVatCheckUnavailableException
SoapFault
exceptions can be thrown in standalone mode too (previously only in Laravel mode)- PSR-4 compatible
- Requires PHP 7.3 or newer, adds types