-
Notifications
You must be signed in to change notification settings - Fork 2
BankAccount
- Iban
- Country
- Albania
- Andorra
- Austria
- Azerbaijan
- Bahrain
- Belgium
- BosniaAndHerzegovina
- Brazil
- BritishVirginIslands
- Bulgaria
- CostaRica
- Croatia
- Cyprus
- CzechRepublic
- Denmark
- DominicanRepublic
- EastTimor
- Estonia
- FaroeIslands
- Finland
- France
- Georgia
- Germany
- Greece
- Greenland
- Guatemala
- Hungary
- Iceland
- Ireland
- Israel
- Italy
- Jordan
- Kazakhstan
- Kosovo
- Kuwait
- Latvia
- Lebanon
- Liechtenstein
- Lithuania
- Luxembourg
- Macedonia
- Malta
- Mauritania
- Mauritius
- Moldova
- Monaco
- Montenegro
- Netherlands
- Norway
- Pakistan
- Palestine
- Poland
- Portugal
- Qatar
- Romania
- SanMarino
- SaudiArabia
- Serbia
- Slovakia
- Slovenia
- Spain
- Sweden
- Switzerland
- Tunisia
- Turkey
- UnitedArabEmirates
- UnitedKingdom
- Checksum
- Iban
- Country
Validates the input (string) to be a valid Albanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Albania;
(new Albania())->validate('AL47212110090000000235698741');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Albaniawhen the validated value is not a valid Albanian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Andorran IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Andorra;
(new Andorra())->validate('AD1200012030200359100100');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Andorrawhen the validated value is not a valid Andorran IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Austrian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Austria;
(new Austria())->validate('AT611904300234573201');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Austriawhen the validated value is not a valid Austrian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Azerbaijani IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Azerbaijan;
(new Azerbaijan())->validate('AZ21NABZ00000000137010001944');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Azerbaijanwhen the validated value is not a valid Azerbaijani IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Bahraini IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Bahrain;
(new Bahrain())->validate('BH67BMAG00001299123456');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Bahrainwhen the validated value is not a valid Bahraini IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Belgium IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Belgium;
(new Belgium())->validate('BE68539007547034');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Belgiumwhen the validated value is not a valid Belgium IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Belgian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Belgium;
(new Belgium())->validate('BE68539007547034');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Belgiumwhen the validated value is not a valid Belgian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Bosnian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\BosniaAndHerzegovina;
(new BosniaAndHerzegovina())->validate('BA391290079401028494');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.BosniaAndHerzegovinawhen the validated value is not a valid Bosnian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Brazilian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Brazil;
(new Brazil())->validate('BR9700360305000010009795493P1');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Brazilwhen the validated value is not a valid Brazilian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid IBAN code from the British Virgin Islands.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\BritishVirginIslands;
(new BritishVirginIslands())->validate('VG96VPVG0000012345678901');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.BritishVirginIslandswhen the validated value is not a valid IBAN code from the British Virgin Islands -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Bulgarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Bulgaria;
(new Bulgaria())->validate('BG80BNBG96611020345678');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Bulgariawhen the validated value is not a valid Bulgarian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Bulgarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Bulgaria;
(new Bulgaria())->validate('BG80BNBG96611020345678');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Bulgariawhen the validated value is not a valid Bulgarian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Costa Rican IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\CostaRica;
(new CostaRica())->validate('CR05015202001026284066');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.CostaRicawhen the validated value is not a valid Costa Rican IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Croatian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Croatia;
(new Croatia())->validate('HR1210010051863000160');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Croatiawhen the validated value is not a valid Croatian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Cypriot IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Cyprus;
(new Cyprus())->validate('CY17002001280000001200527600');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Cypruswhen the validated value is not a valid Cypriot IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Czech IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\CzechRepublic;
(new CzechRepublic())->validate('CZ6508000000192000145399');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.CzechRepublicwhen the validated value is not a valid Czech IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Danish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Denmark;
(new Denmark())->validate('DK5000400440116243');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Denmarkwhen the validated value is not a valid Danish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Dominican IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\DominicanRepublic;
(new DominicanRepublic())->validate('DO28BAGR00000001212453611324');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.DominicanRepublicwhen the validated value is not a valid Dominican IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid East Timor IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\EastTimor;
(new EastTimor())->validate('TL380080012345678910157');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.EastTimorwhen the validated value is not a valid East Timor IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Estonian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Estonia;
(new Estonia())->validate('EE382200221020145685');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Estoniawhen the validated value is not a valid Estonian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid IBAN code from the Faroe Islands.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\FaroeIslands;
(new FaroeIslands())->validate('FO2000400440116243');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.FaroeIslandswhen the validated value is not a valid IBAN code from the FaroeIslands -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Finnish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Finland;
(new Finland())->validate('FI2112345600000785');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Finlandwhen the validated value is not a valid Finnish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid French IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\France;
(new France())->validate('FR1420041010050500013M02606');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Francewhen the validated value is not a valid French IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Georgian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Georgia;
(new Georgia())->validate('GE29NB0000000101904917');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Georgiawhen the validated value is not a valid Georgian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid German IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Germany;
(new Germany())->validate('DE89370400440532013000');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Germanywhen the validated value is not a valid German IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Gibraltarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Gibraltar;
(new Gibraltar())->validate('GI75NWBK000000007099453');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Gibraltarwhen the validated value is not a valid Gibraltarian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Greece IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Greece;
(new Greece())->validate('GR1601101250000000012300695');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Greecewhen the validated value is not a valid Greece IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Greenlandish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Greenland;
(new Greenland())->validate('GL2000400440116243');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Greenlandwhen the validated value is not a valid Greenlandish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Guatemalan IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Guatemala;
(new Guatemala())->validate('GT82TRAJ01020000001210029690');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Guatemalawhen the validated value is not a valid Guatemalan IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Hungarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Hungary;
(new Hungary())->validate('HU42117730161111101800000000');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Hungarywhen the validated value is not a valid Hungarian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Icelandic IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Iceland;
(new Iceland())->validate('IS140159260076545510730339');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Icelandwhen the validated value is not a valid Icelandic IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Irish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Ireland;
(new Ireland())->validate('IE29AIBK93115212345678');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Irelandwhen the validated value is not a valid Irish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Israeli IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Israel;
(new Israel())->validate('IL620108000000099999999');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Israelwhen the validated value is not a valid Israeli IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Italian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Italy;
(new Italy())->validate('IT60X0542811101000000123456');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Italywhen the validated value is not a valid Italian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Jordanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Jordan;
(new Jordan())->validate('JO94CBJO0010000000000131000302');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Jordanwhen the validated value is not a valid Jordanian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Kazakh IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Kazakhstan;
(new Kazakhstan())->validate('KZ86125KZT5004100100');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Kazakhstanwhen the validated value is not a valid Kazakh IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Kosovo IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Kosovo;
(new Kosovo())->validate('XK051212012345678906');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Kosovowhen the validated value is not a valid Kosovo IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Kuwaiti IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Kuwait;
(new Kuwait())->validate('KW81CBKU0000000000001234560101');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Kuwaitwhen the validated value is not a valid Kuwaiti IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Latvian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Latvia;
(new Latvia())->validate('LV80BANK0000435195001');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Latviawhen the validated value is not a valid Latvian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Lebanese IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Lebanon;
(new Lebanon())->validate('LB62099900000001001901229114');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Lebanonwhen the validated value is not a valid Lebanese IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Liechtensteiner IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Liechtenstein;
(new Liechtenstein())->validate('LI21088100002324013AA');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Liechtensteinwhen the validated value is not a valid Liechtensteiner IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Lithuanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Lithuania;
(new Lithuania())->validate('LT121000011101001000');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Lithuaniawhen the validated value is not a valid Lithuanian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Luxembourgian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Luxembourg;
(new Luxembourg())->validate('LU280019400644750000');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Luxembourgwhen the validated value is not a valid Luxembourgian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Macedonian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Macedonia;
(new Macedonia())->validate('MK07250120000058984');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Macedoniawhen the validated value is not a valid Macedonian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Maltese IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Malta;
(new Malta())->validate('MT84MALT011000012345MTLCAST001S');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Maltawhen the validated value is not a valid Maltese IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Mauritanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Mauritania;
(new Mauritania())->validate('MR1300020001010000123456753');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Mauritaniawhen the validated value is not a valid Mauritanian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Mauritian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Mauritius;
(new Mauritius())->validate('MU17BOMM0101101030300200000MUR');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Mauritiuswhen the validated value is not a valid Mauritian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Moldovan IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Moldova;
(new Moldova())->validate('MD24AG000225100013104168');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Moldovawhen the validated value is not a valid Moldovan IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Monaco IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Monaco;
(new Monaco())->validate('MC5811222000010123456789030');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Monacowhen the validated value is not a valid Monaco IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Montenegrin IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Montenegro;
(new Montenegro())->validate('ME25505000012345678951');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Montenegrowhen the validated value is not a valid Montenegrin IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Dutch IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Netherlands;
(new Netherlands())->validate('NL91ABNA0417164300');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Netherlandswhen the validated value is not a valid Dutch IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Norwegian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Norway;
(new Norway())->validate('NO9386011117947');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Norwaywhen the validated value is not a valid Norwegian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Pakistani IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Pakistan;
(new Pakistan())->validate('PK36SCBL0000001123456702');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Pakistanwhen the validated value is not a valid Pakistani IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Palestinian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Palestine;
(new Palestine())->validate('PS92PALS000000000400123456702');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Palestinewhen the validated value is not a valid Palestinian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Polish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Poland;
(new Poland())->validate('PL61109010140000071219812874');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Polandwhen the validated value is not a valid Polish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Portuguese IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Portugal;
(new Portugal())->validate('PT50000201231234567890154');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Portugalwhen the validated value is not a valid Portuguese IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Qatari IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Qatar;
(new Qatar())->validate('QA58DOHB00001234567890ABCDEFG');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Qatarwhen the validated value is not a valid Qatari IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Romanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Romania;
(new Romania())->validate('RO49AAAA1B31007593840000');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Romaniawhen the validated value is not a valid Romanian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Sammarinese IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\SanMarino;
(new SanMarino())->validate('SM86U0322509800000000270100');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.SanMarinowhen the validated value is not a valid Sammarinese IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Saudi IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\SaudiArabia;
(new SaudiArabia())->validate('SA0380000000608010167519');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.SaudiArabiawhen the validated value is not a valid Saudi IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Serbian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Serbia;
(new Serbia())->validate('RS35260005601001611379');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Serbiawhen the validated value is not a valid Serbian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Slovakian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Slovakia;
(new Slovakia())->validate('SK3112000000198742637541');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Slovakiawhen the validated value is not a valid Slovakian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Slovenian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Slovenia;
(new Slovenia())->validate('SI56191000000123438');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Sloveniawhen the validated value is not a valid Slovenian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Spanish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Spain;
(new Spain())->validate('ES9121000418450200051332');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Spainwhen the validated value is not a valid Spanish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Swedish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Sweden;
(new Sweden())->validate('SE4550000000058398257466');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Swedenwhen the validated value is not a valid Swedish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Swiss IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Switzerland;
(new Switzerland())->validate('CH9300762011623852957');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Switzerlandwhen the validated value is not a valid Swiss IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Tunisian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Tunisia;
(new Tunisia())->validate('TN5910006035183598478831');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Tunisiawhen the validated value is not a valid Tunisian IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Turkish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Turkey;
(new Turkey())->validate('TR330006100519786457841326');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.Turkeywhen the validated value is not a valid Turkish IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid Emirate IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\UnitedArabEmirates;
(new UnitedArabEmirates())->validate('AE070331234567890123456');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.UnitedArabEmirateswhen the validated value is not a valid Emirate IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid British IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\UnitedKingdom;
(new UnitedKingdom())->validate('AE070331234567890123456');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Country.UnitedKingdomwhen the validated value is not a valid British IBAN code -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to have a valid IBAN checksum
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Checksum;
(new Checksum())->validate('AE070331234567890123456');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Checksumwhen the validated value's checksum digit is not valid
Validates the input (string) to be a valid IBAN code.
Supported IBAN codes are all countries listed above.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Iban;
(new Iban())->validate('AE070331234567890123456');-
Type.Stringwhen the validated value is not a string -
BankAccount.Iban.Ibanwhen the validated value is not a valid IBAN