jschaedl/iban-validation
A Laravel/PHP package for validating International Bank Account Numbers (IBANs). It provides a validator rule and direct IBAN checks to ensure account numbers are correctly formatted and checksum-valid before storage or payment processing.
Adopt when:
Look elsewhere or apply extra diligence when:
globalcitizen/php-iban is the more established option with a broader surface.To executives: This is a small, MIT-licensed PHP library that validates IBANs before they enter our payments pipeline. It removes a category of avoidable failed transfers and support tickets for roughly the cost of one dependency and a day of integration. It is low-risk: permissive license, recent release, no infrastructure or vendor contract. Important caveat — it checks that an IBAN is well-formed, not that the account exists, so it complements rather than replaces payment-verification spend.
To engineering: Pure PHP, Composer-installable, no framework coupling. Recommended integration is a thin Laravel validation rule wrapping the library behind our own IbanValidator interface, so swapping to php-iban or a vendor SDK is a one-file change. Two things to check before merge: test coverage for our operating countries, and how the country-format table is maintained upstream (single maintainer, ~100 stars is the main long-term risk).
How can I help you explore Laravel packages today?