IBAN Rule

Validate International Bank Account Numbers

126k Downloads / Month

Open Source MIT License

You are viewing the documentation for Intervention Validation Version 3. This version has reached end of life (EOL). Please consider upgrading to version Version 4.

public Intervention\Validation\Rules\Iban::__construct()

Checks for a valid International Bank Account Number (IBAN).

Parameters

none

Example

use Intervention\Validation\Rules\Iban;

$validator = Validator::make($request->all(), [
    'attribute-key' => new Iban(),
]);
Edit