ilyasmohetna / iban
Iban is a PHP package for parsing, validating, and extracting bank details from IBANs with ease and accuracy. Simplify financial data handling in your applications.
v1.0.2
2025-01-26 18:08 UTC
Requires
- php: ^8.2
Requires (Dev)
- laravel/pint: ^1.18.1
- pestphp/pest: ^3.5.1
- pestphp/pest-plugin-type-coverage: ^3.1
- phpstan/phpstan: ^1.12.7
- rector/rector: ^1.2.8
- symfony/var-dumper: ^7.1.6
This package is not auto-updated.
Last update: 2025-07-13 20:18:03 UTC
README
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+
Installation
Install the package using Composer:
composer require ilyasmohetna/iban
Features
- ✅ Parse IBANs into structured components.
- ✅ Validate IBAN structure and checksum.
- ✅ Auto-detect bank details from IBANs.
Supported Countries
Usage
Validate an IBAN
Parse an IBAN
Development
Run Code Quality Tools
🧹 Keep a modern codebase with Pint:
composer lint
✅ Run refactors using Rector:
composer refacto
⚗️ Run static analysis using PHPStan:
composer test:types
✅ Run unit tests using PEST:
composer test:unit
🚀 Run the entire test suite:
composer test
PHP IBAN was created by Ilyas Mohetna under the MIT license.