Released on December 2nd 2024
- Upgraded dependencies and fixed code style. Thanks to @jschaedl!
Released on November 24th 2024
- Added support for PHP 8.4. Thanks to @joostdebruijn!
Released on March 3rd 2024
- Updated iban registry to version 96. Thanks to @jschaedl!
Released on November 30th 2023
- Added support for symfony/option-resolver version
^7
. Thanks to @jschaedl!
Released on November 23rd 2023
- Added support for PHP 8.3. Thanks to @jschaedl!
Released on October 21st 2023
- Updated iban registry to version 95. Thanks to @jschaedl!
Released on June 5th 2023
- Fixed #103. Thanks to @jacekkarczmarczyk!
Released on December 12th 2022
- Made
RegexConverter
final. Thanks to @jschaedl! - Made
Registry
final. Thanks to @jschaedl! - Made
CountryInfo
final. Thanks to @jschaedl! - Made
Validator
final. Thanks to @jschaedl! - Made
Iban
final. Thanks to @jschaedl! - Introduced second argument to
Validator::validate(string|Iban $iban, bool $throw = false)
. Thanks to @jschaedl!
$validator = new Validator();
try {
$validator->validate(new Iban('DE89 3704 0044 0532 0130 00'), throw: true);
} catch (Exception $exception) {
// ...
}
- Removed class
RegistryLoader
, you should implement theRegistryLoaderInterface
for custom Loaders instead. Thanks to @jschaedl! - Removed method
Iban::getCountryCode()
, useIban::countryCode()
instead. Thanks to @jschaedl! - Removed method
Iban::getChecksum()
, useIban::checksum()
instead. Thanks to @jschaedl! - Removed method
Iban::getBban()
, useIban::bban()
instead. Thanks to @jschaedl! - Removed method
Iban::getBbanBankIdentifier()
, useIban::bbanBankIdentifier()
instead. Thanks to @jschaedl! - Removed method
CountryInfo::getBbanBankIdentifierStartPos()
. Thanks to @jschaedl! - Removed method
CountryInfo::getBbanBankIdentifierEndPos()
. Thanks to @jschaedl! - Dropped support for PHP
<8
. Thanks to @jschaedl! - Removed all composer dev dependencies. Thanks to @jschaedl!
- Removed symfony/yaml dependency. Thanks to @jschaedl!
- Dropped support for symfony/options-resolver
3.4
. Thanks to @jschaedl!
Released on December 12th 2022
This is the last bugfix version of major version 1
. Please upgrade to version 2.0.0
.
Released on December 9th 2022
Released on March 7th 2022
Released on December 8th 2021
- Deprecated the usage of class
RegistryLoader
, you should implement theRegistryLoaderInterface
for custom Loaders. Thanks to @jschaedl!
Released on December 6th 2021
- Removed symfony/yaml dependency and loaded Swift registry data as PHP array to improve performance. Thanks to @jschaedl!
- Added support for symfony/option-resolver version
^6
. Thanks to @Philipp91!
- Updated iban registry to version 88. Thanks to @jschaedl!
- IBANs for Libya can now be validated.
- Fixed README.md. Thanks to @jschaedl!
Released on December 3rd 2020
Registry::isCountryAvailable()
is supposed to be private, you should not rely on it anymore. Thanks to @jschaedl!Iban::getNormalizedIban()
is supposed to be private, useIban::format()
instead. Thanks to @jschaedl!- Marked
RegexConverter
as@internal
, you should not rely on it anymore. Thanks to @jschaedl! - Marked
RegexConverter
as@final
, you should not extend it anymore. Thanks to @jschaedl! - Marked
Registry
as@final
, you should not extend it anymore. Thanks to @jschaedl! - Marked
RegistryLoader
as@final
, you should not extend it anymore. Thanks to @jschaedl! - Marked
CountryInfo
as@final
, you should not extend it anymore. Thanks to @jschaedl! - Marked
Validator
as@final
, you should not extend it anymore. Thanks to @jschaedl! - Marked
Iban
as@final
, you should not extend it anymore. Thanks to @jschaedl! - Changed the PHP version constraint to
>=7.1
to allow PHP 8. Thanks to @chris-doehring!
- Deprecated method
Iban::getCountryCode()
, useIban::countryCode()
instead. Thanks to @jschaedl! - Deprecated method
Iban::getChecksum()
, useIban::checksum()
instead. Thanks to @jschaedl! - Deprecated method
Iban::getBban()
, useIban::bban()
instead. Thanks to @jschaedl! - Deprecated method
Iban::getBbanBankIdentifier()
, useIban::bbanBankIdentifier()
instead. Thanks to @jschaedl! - Deprecated method
CountryInfo::getBbanBankIdentifierStartPos()
, you should not rely on it anymore. Thanks to @jschaedl! - Deprecated method
CountryInfo::getBbanBankIdentifierEndPos()
, you should not rely on it anymore. Thanks to @jschaedl!
Released on May 5th 2020
- Added checksum reporting in
InvalidChecksumException
. Thanks to @tugrul!
- Updated iban registry to version 86. Thanks to @jschaedl!
Released on February 5th 2020
- Properly fail on non-numeric country codes. Thanks to @xabbuh!
Release on November 25th 2019
- Added Symfony 5.0 support. Thanks to @jschaedl!
Release on April 27th 2019
- Set correct scale for bcmod function. Thanks to @CodeDuck42!
- Updated iban registry. Thanks to @jschaedl
Released on December 14th 2018
- Changed minimum version for yaml and option-resolver component to ^3.4|^4.1. Thanks to @jschaedl!
- Updated iban registry file to version 80. Thanks to @jschaedl!
Released on September 14th 2018
- Added
FORMAT_ANONYMIZED
IBAN format:$iban->format(Iban::FORMAT_ANONYMIZED)
. Thanks to @jschaedl!
Initial release on August 19th 2018