IBAN Rule

Validate International Bank Account Numbers

112k Downloads / Month

Open Source MIT License

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

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

Parameters

none

Example

use Illuminate\Support\Facades\Validator;
use Intervention\Validation\Rules\Iban;

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