All Versions
11
Latest Version
Avg Release Cycle
116 days
Latest Release
547 days ago

Changelog History
Page 1

  • v2.0.3 Changes

    April 17, 2020

    ๐Ÿ“ฆ Ditch client for jsonvat.com as it is discontinued. This package already was already using the client for ibericode/vat-rates by default.

    If you were manually using Ibericode\Vat\Clients\JsonVatClient in your code then change it to use Ibericode\Vat\Clients\IbericodeVatRatesClient instead.

    $client = new Ibericode\Vat\Clients\IbericodeVatRatesClient();$rates = new Ibericode\Rates\Rates('/path-for-storing-cache-file.txt', 12 \* 3600, $client);
    
  • v2.0.2 Changes

    January 16, 2020
    • ๐Ÿ›  Fixes an issue with invalid ES, IE and GB VAT numbers being accepted (when given a valid VAT number with a suffix or prefix). Thanks to @Swop for catching it.
  • v2.0.1

    November 12, 2019
  • v2.0 Changes

    February 11, 2019

    ๐Ÿ”– Version 2.0 release is a complete rewrite, resulting in a much simpler and more usable public API. Check out the README for updated usage examples.

    ๐Ÿ“ฆ The package has moved to a new Composer package name as well. It's now called ibericode/vat.

  • v1.2.1 Changes

    February 07, 2019

    Additions

    • validateCountryCode method on Countries class.
    • validateIpAddress method on Countries class.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘‰ Use HTTPS protocol for ip2c.org geo-location service.
    • โฌ†๏ธ Bump package requirement to PHP 7.1 or later
    • โž• Add argument and return type declarations
    • Don't issue HTTP request for IP geo-location if IP isn't valid or is in local range
  • v1.2.0

    January 08, 2019
  • v1.1.3

    January 07, 2019
  • v1.1.2 Changes

    December 04, 2017

    VIES SOAP client is now lazy instantiated

  • v1.1.1 Changes

    July 06, 2017

    ๐Ÿš€ This release allows you to configure a custom timeout for the VIES client via constructor parameters.

  • v1.1 Changes

    February 24, 2017

    ๐Ÿš€ This release allows you to fetch the VAT rates for any future or past date thanks to a pull request by @bpolaszek.

    *Example: *

    This fetches the VAT rate in The Netherlands (NL) on 2010-01-01.

    $rates = new DvK\Vat\Rates\Rates();$rates-\>country('NL', 'standard', new \Datetime('2010-01-01')); // 19
    

    ๐Ÿ‘€ Because this change requires VAT periods to be stored in the Rates class, the Rates::all() method now returns a slightly different array format. See the inline docs on the Client interface for details on the format.