Download the PHP package nembie/iban-rule without Composer
On this page you can find all versions of the php package nembie/iban-rule. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nembie/iban-rule
More information about nembie/iban-rule
Files in nembie/iban-rule
Package iban-rule
Short Description A Laravel validation rule to validate IBAN numbers
License MIT
Homepage https://github.com/Nembie/iban-rule
Informations about the package iban-rule
🏦 IBAN Validation Rule for Laravel
This package provides a custom validation rule for Laravel to validate International Bank Account Numbers (IBANs). It uses the validation rules defined by the Single Euro Payments Area (SEPA) and other non-SEPA countries to ensure that the given IBAN is valid.
🧰 Requirements
⚙️ Installation
You can install this package using Composer:
👾 Usage
To use the IBAN validation rule, simply add it to your Laravel validation rules. Here's an example:
👽 Customize error message
You can use your own validation message (by default will be ).
:warning: If you don't have these folders use
Simply:
🔐 Validation Rules
This package uses the validation rules defined by the Single Euro Payments Area (SEPA) and other non-SEPA countries to ensure that the given IBAN is valid. The validation rules are loaded from a countries.json
file that is included in this package.
🤝 Contribution
If you find any issues or have suggestions for improvements, feel free to open a pull request or issue. Your contribution is highly appreciated.
🌍 Supported countries
Full list of supported countries
🔨 Test
📝 License
This package is open-sourced software licensed under the MIT license.