jschaedl/iban-validation
A small library for validating International BankAccount Numbers (IBANs).
v2.7.0
3.4M downloads/mo
#2318 most downloaded on Packagist
jschaedl/iban-validation
What this package is like to depend on
Last release 8 months ago
02 Dec 2025
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 15 of 23 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
23 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
23 releases · Aug 2018 to Dec 2025Releases
latest 23-
v2.7.002 Dec 2025Release notes
Open source →What's Changed
- Allow Symfony 8 by @Vincentv92 in #122
New Contributors
- @Vincentv92 made their first contribution in #122
Full Changelog: v2.6.0...v2.7.0
Release notes
Open source → -
v2.6.029 Jul 2025Release notes
Open source →Release notes
Open source → -
v2.5.102 Dec 2024Release notes
Open source →Released on December 2nd 2024
Updated
- Upgraded dependencies and fixed code style. Thanks to @jschaedl!
-
v2.5.024 Nov 2024Release notes
Open source →What's Changed
- feat: add support for php8.4 by @joostdebruijn in #116
New Contributors
- @joostdebruijn made their first contribution in #116
Full Changelog: v2.4.0...v2.5.0
Release notes
Open source → -
v2.4.003 Mar 2024Release notes
Open source →Release notes
Open source → -
v2.3.030 Nov 2023Release notes
Open source →Released on November 30th 2023
Added
- Added support for symfony/option-resolver version
^7. Thanks to @jschaedl!
- Added support for symfony/option-resolver version
-
v2.2.023 Nov 2023Release notes
Open source →Release notes
Open source → -
v2.1.021 Oct 2023Release notes
Open source →What's Changed
- Improve makefile and update dev dependencies by @jschaedl in #106
- Update iban registry to version 202307r95 by @jschaedl in #107
- Prepare 2.1.0 by @jschaedl in #108
- Add make target to create a new tag and trigger release by @jschaedl in #109
- Adjust make release target to create signed and verified releases by @jschaedl in #110
Full Changelog: v2.0.1...v2.1.0
Release notes
Open source → -
v2.0.105 Jun 2023Release notes
Open source →Release notes
Open source →Released on June 5th 2023
Fixed
- Fixed https://github.com/jschaedl/iban-validation/issues/103. Thanks to @jacekkarczmarczyk!
-
v2.0.010 Dec 2022Release notes
Open source →What's Changed
- Introduce php-cs-fixer by @jschaedl in #35
- Drop support for php71 and php72 by @jschaedl in #36
- Added argument and return type hints by @jschaedl in #37
- Introduced phpstan and applied rules by @jschaedl in #38
- Introduced a Makefile for convenience by @jschaedl in #39
- Fixed swift script by @jschaedl in #40
- Improved Iban Validator by @jschaedl in #41
- remove no longer needed PHP version check by @xabbuh in #42
- Marked classes as final and introduced deprecations by @jschaedl in #43
- Fix branch alias by @jschaedl in #44
- Remove deprecations and make classes final by @jschaedl in #47
- Fix minimum php version by @jschaedl in #48
- Introduce phive and remove all dev dependencies by @jschaedl in #57
- Update supported php version by @jschaedl in #58
- Readme by @jschaedl in #59
- fix changelog by @jschaedl in #70
- adjust readme by @jschaedl in #71
- Make tests run on php82 by @jschaedl in #87
- Various improvements by @jschaedl in #88
- Fix CHANGELOG by @jschaedl in #89
- Introduce workflow to support automatic releases by @jschaedl in #92
- Update CHANGELOG.md by @markusramsak in #91
- Cleanup test cases by @jschaedl in #93
- Cleanup code regarding php8 by @jschaedl in #94
- Introduce argument "throw" to Validator:validate() method by @jschaedl in #95
- Makefile improvements by @jschaedl in #96
New Contributors
- @markusramsak made their first contribution in #91
Full Changelog: v1.8.3...v2.0.0
Release notes
Open source →Released on December 12th 2022
Updated
- Updated iban registry to version 92 in https://github.com/jschaedl/iban-validation/issues/79. Thanks to @jschaedl!
Changed
- Made
RegexConverterfinal. Thanks to @jschaedl! - Made
Registryfinal. Thanks to @jschaedl! - Made
CountryInfofinal. Thanks to @jschaedl! - Made
Validatorfinal. Thanks to @jschaedl! - Made
Ibanfinal. 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
- Removed class
RegistryLoader, you should implement theRegistryLoaderInterfacefor 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!
-
v1.8.412 Dec 2022Release notes
Open source →Released on December 12th 2022
This is the last bugfix version of major version
1. Please upgrade to version2.0.0.
-
v1.8.309 Dec 2022Release notes
Open source →Released on December 9th 2022
Fixed
- Fixed https://github.com/jschaedl/iban-validation/issues/77. Thanks to @jschaedl!
-
v1.8.207 Mar 2022 -
v1.8.108 Dec 2021Release notes
Open source →Released on December 8th 2021
Changed
- Deprecated the usage of class
RegistryLoader, you should implement theRegistryLoaderInterfacefor custom Loaders. Thanks to @jschaedl!
Fixed
- Fixed https://github.com/jschaedl/iban-validation/issues/67. Thanks to @jschaedl!
- Deprecated the usage of class
-
v1.8.006 Dec 2021Release notes
Open source →Released on December 6th 2021
Changed
- 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
- Updated iban registry to version 88. Thanks to @jschaedl!
- IBANs for Libya can now be validated.
Fixed
- Fixed README.md. Thanks to @jschaedl!
-
v1.703 Dec 2020Nothing published for this version
-
v1.616 May 2020Nothing published for this version
-
v1.505 Feb 2020Nothing published for this version
-
v1.425 Nov 2019Nothing published for this version
-
v1.327 Apr 2019Nothing published for this version
-
v1.215 Dec 2018Nothing published for this version
-
v1.114 Sep 2018Nothing published for this version
-
v1.027 Aug 2018Nothing published for this version