faicchia/laravel-iban-validation-rule

A Laravel rule around jschaedl/iban-validation

Installs: 886

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/faicchia/laravel-iban-validation-rule

1.0.0 2022-07-09 21:54 UTC

This package is auto-updated.

Last update: 2025-10-10 07:11:25 UTC


README

Packagist Tests Style License

A Laravel rule around jschaedl/iban-validation.

Installation

composer require faicchia/laravel-iban-validation-rule

The package will automatically register itself.

Translations

If you wish to edit the package translations, you can run the following command to publish them into your resources/lang folder:

php artisan vendor:publish --provider="Faicchia\IbanValidation\IbanValidationRuleServiceProvider"

English and Italian translations are already shipped with the package.

Usage

// in a `FormRequest`

use Faicchia\IbanValidation\Rules\Iban;

public function rules(): array
{
    return [
        'iban' => [new Iban()]
    ];
}