You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### CHANGE:
- Updated dependencies
##### string.php:
- added str_contains_array
- now str_contains is provided by Symfony\Polyfill\Php80 but the function
is maintained for backwards compatibility.
##### sanitize.php:
- sanitize_filename now use str_contains_array function
# 2.1.0 - 2018-09-07
### ADD:
##### string:
- firstStringBetween(): Returns the first string there is between the strings from the parameter start and end.
### FIX:
##### helpers:
- format_money(): Fix white space when no simbol passed.
# 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.
### CHANGES:
##### validation:
- small refactor
# 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.