Skip to content

Releases: padosoft/support

v3.1.0

05 Jul 14:36
Compare
Choose a tag to compare
ADD option in isEuVatNumber to set the return Value If Vies Thrown an…

… Exception.

v2.3.0

09 Jul 16:46
Compare
Choose a tag to compare

2.3.0 - 2019-07-09

CHANGE:

string:
  • slugify: remove degrees and math power char.

v2.0.2

18 Apr 10:53
Compare
Choose a tag to compare

2.0.2 - 2018-04-18

CHANGES:

validation:
  • small refactor (remove unused code) in getCoutryCodeByVatNumberTest.

v2.0.1

18 Apr 10:48
Compare
Choose a tag to compare

2.0.1 - 2018-04-18

ADD:

validation:
  • getCoutryCodeByVatNumberTest($val, $fallback): Try to extract EU country code in Vat number return $fallback if it fails.

v2.0.0

18 Apr 10:47
Compare
Choose a tag to compare

2.0.0 - 2018-04-18

BREAKING CHANGES:

validation:
  • isPiva and IsVatNumber was removed in favour to new functions: isEuVatNumber, isVATRegisteredInVies, isITVat.
  • isVATRegisteredInVies() : Validate a European VAT number using the EU commission VIES service to verify if VAT number is authorized to carry out intra-Community operations must use the service.
  • isITVat() : Check Italian Vat Number (Partita IVA).
  • isEuVatNumber() : Check if a valid EU vat given against specific EU country vat rules (at the moment only for italy) and optionally check the EU VIES service.

v1.17.4

18 Apr 10:46
Compare
Choose a tag to compare

1.17.4 - 2018-04-18

FIX:

helpers:
  • isMobile(): Fix when some bot has no $_SERVER['HTTP_USER_AGENT'].

v1.17.3

18 Apr 10:47
Compare
Choose a tag to compare

1.17.3 - 2018-03-27

FIX:

STRING:
  • isNullOrEmpty(): Fix when subject is not a scalar.

v1.17.2

15 Feb 23:29
Compare
Choose a tag to compare

1.17.2 - 2018-02-15

FIX:

STRING:
  • isNullOrEmpty(): Fix when int or double or bool arg passed instead of string.

v1.17.1

23 Jan 11:21
Compare
Choose a tag to compare

1.17.1 - 2018-01-23

FIX:

HELPERS:

  • curl(): Fix $url when methods is GET and url passed with querystring.

1.17.0

26 Aug 17:01
Compare
Choose a tag to compare

1.17.0 - 2017-08-26

ADDED:

HELPERS:
  • gzCompressFile(): GZIPs a file on disk (appending .gz to the name) without read all source file in memory.