jongotlin/bank-account-bundle
A Symfony bundle for working with bank account details, offering value objects and validation for IBAN, BIC, and related data so you can store and verify payment information cleanly across your application.
Consider it when:
jongotlin/bank-account library and wrap it in a custom validation rule.Look elsewhere when:
composer require."For executives: This is a tiny, free (MIT) helper for validating Swedish bank account numbers, relevant only if we pursue Sweden. Its value is as a reference for the domain logic, not as an approved dependency: it has no community, no downstream users, and a single maintainer. Recommendation: fund a short 1–2 day engineering spike to review and reimplement the validation rules in-house with tests, rather than depending on an unmaintained third-party package on the payment path.
For engineering: The reusable assets are the clearing-number ranges, the checksum logic (mod-10/mod-11/none), and the formatting rules. The Symfony bundle plumbing is unusable in our Laravel stack — depend on the underlying jongotlin/bank-account library and wrap it behind our own BankAccountValidator interface, exposed as a Laravel ValidationRule for input and a value object with normalised()/formatted() accessors so display formatting never leaks into persistence. Add a golden-file test corpus per bank clearing range and checksum edge case, run the validator in shadow mode against live account data before enforcing, and assign a named owner for the annual clearing-number table review. Mask account numbers in logs and error trackers from day one — they are financial PII — and keep an ops override path for legitimate accounts the validator rejects.
How can I help you explore Laravel packages today?