This package provides a powerful and easy-to-use PHP IBAN utility for parsing, validating, and extracting bank details from IBANs.
Requires PHP 8.0+
Install the package using Composer:
composer require ilyasmohetna/iban
- ✅ Parse IBANs into structured components.
- ✅ Validate IBAN structure and checksum.
- ✅ Auto-detect bank details from IBANs.
| Flag |
Country |
IBAN Validation |
IBAN Parser Data |
Auto Bank Detection |
 |
Andorra |
✅ |
✅ |
❌ |
 |
United Arab Emirates |
✅ |
✅ |
❌ |
 |
Albania |
✅ |
✅ |
❌ |
 |
Austria |
✅ |
✅ |
❌ |
 |
Azerbaijan |
✅ |
✅ |
❌ |
 |
Bosnia and Herzegovina |
✅ |
✅ |
❌ |
 |
Belgium |
✅ |
✅ |
❌ |
 |
Bulgaria |
✅ |
✅ |
❌ |
 |
Bahrain |
✅ |
✅ |
❌ |
 |
Burundi |
✅ |
✅ |
❌ |
 |
Brazil |
✅ |
✅ |
❌ |
 |
Republic of Belarus |
✅ |
✅ |
❌ |
 |
Switzerland |
✅ |
✅ |
❌ |
 |
Costa Rica |
✅ |
✅ |
❌ |
 |
Cyprus |
✅ |
✅ |
❌ |
 |
Czechia |
✅ |
✅ |
❌ |
 |
Germany |
✅ |
✅ |
❌ |
 |
Djibouti |
✅ |
✅ |
❌ |
 |
Denmark |
✅ |
✅ |
❌ |
 |
Dominican Republic |
✅ |
✅ |
❌ |
 |
Estonia |
✅ |
✅ |
❌ |
 |
Egypt |
✅ |
✅ |
❌ |
 |
Spain |
✅ |
✅ |
❌ |
 |
Finland |
✅ |
✅ |
❌ |
 |
Falkland Islands |
✅ |
✅ |
❌ |
 |
Faroe Islands |
✅ |
✅ |
❌ |
 |
France |
✅ |
✅ |
✅ |
 |
United Kingdom |
✅ |
✅ |
❌ |
 |
Georgia |
✅ |
✅ |
❌ |
 |
Gibraltar |
✅ |
✅ |
❌ |
 |
Greenland |
✅ |
✅ |
❌ |
 |
Greece |
✅ |
✅ |
❌ |
 |
Guatemala |
✅ |
✅ |
❌ |
 |
Croatia |
✅ |
✅ |
❌ |
 |
Hungary |
✅ |
✅ |
❌ |
 |
Ireland |
✅ |
✅ |
❌ |
 |
Israel |
✅ |
✅ |
❌ |
 |
Iraq |
✅ |
✅ |
❌ |
 |
Iceland |
✅ |
✅ |
❌ |
 |
Italy |
✅ |
✅ |
❌ |
 |
Jordan |
✅ |
✅ |
❌ |
 |
Kuwait |
✅ |
✅ |
❌ |
 |
Kazakhstan |
✅ |
✅ |
❌ |
 |
Lebanon |
✅ |
✅ |
❌ |
 |
Saint Lucia |
✅ |
✅ |
❌ |
 |
Liechtenstein |
✅ |
✅ |
❌ |
 |
Lithuania |
✅ |
✅ |
❌ |
 |
Luxembourg |
✅ |
✅ |
❌ |
 |
Latvia |
✅ |
✅ |
❌ |
 |
Libya |
✅ |
✅ |
❌ |
 |
Monaco |
✅ |
✅ |
❌ |
 |
Moldova |
✅ |
✅ |
❌ |
 |
Montenegro |
✅ |
✅ |
❌ |
 |
Macedonia |
✅ |
✅ |
❌ |
 |
Mongolia |
✅ |
✅ |
❌ |
 |
Mauritania |
✅ |
✅ |
❌ |
 |
Malta |
✅ |
✅ |
❌ |
 |
Mauritius |
✅ |
✅ |
❌ |
 |
Nicaragua |
✅ |
✅ |
❌ |
 |
Netherlands |
✅ |
✅ |
❌ |
 |
Norway |
✅ |
✅ |
❌ |
 |
Pakistan |
✅ |
✅ |
❌ |
 |
Oman |
✅ |
✅ |
❌ |
 |
Poland |
✅ |
✅ |
❌ |
 |
Palestine, State of |
✅ |
✅ |
❌ |
 |
Portugal |
✅ |
✅ |
❌ |
 |
Qatar |
✅ |
✅ |
❌ |
 |
Romania |
✅ |
✅ |
❌ |
 |
Serbia |
✅ |
✅ |
❌ |
 |
Russia |
✅ |
✅ |
❌ |
 |
Saudi Arabia |
✅ |
✅ |
❌ |
 |
Seychelles |
✅ |
✅ |
❌ |
 |
Sudan |
✅ |
✅ |
❌ |
 |
Sweden |
✅ |
✅ |
❌ |
 |
Slovenia |
✅ |
✅ |
❌ |
 |
Slovakia |
✅ |
✅ |
❌ |
 |
San Marino |
✅ |
✅ |
❌ |
 |
Somalia |
✅ |
✅ |
❌ |
 |
Sao Tome and Principe |
✅ |
✅ |
❌ |
 |
El Salvador |
✅ |
✅ |
❌ |
 |
Timor-Leste |
✅ |
✅ |
❌ |
 |
Tunisia |
✅ |
✅ |
❌ |
 |
Turkey |
✅ |
✅ |
❌ |
 |
Ukraine |
✅ |
✅ |
❌ |
 |
Vatican City State |
✅ |
✅ |
❌ |
 |
Virgin Islands |
✅ |
✅ |
❌ |
 |
Kosovo |
✅ |
✅ |
❌ |
🧹 Keep a modern codebase with Pint:
✅ Run refactors using Rector:
⚗️ Run static analysis using PHPStan:
✅ Run unit tests using PEST:
🚀 Run the entire test suite:
PHP IBAN was created by Ilyas Mohetna under the MIT license.