Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laminas Validator Laravel Package

laminas/laminas-validator

Laminas Validator provides flexible, reusable validation rules for PHP applications. Includes built-in validators, input filtering/validation chains, and tools for validating common data types like emails, URLs, numbers, strings, and more.

View on GitHub
Deep Wiki
Context7

BIC Validator

Laminas\Validator\BusinessIdentifierCode validates if a given value could be a "Business Identifier Code" (BIC) as defined by ISO 9362. A BIC is a unique identification code for financial and non-financial institutions.

Supported Options

There are no additional supported options for the BusinessIdentifierCode validator.

BIC validation

BICs should be a string which length should be equal to 8 or 11.

  • The 4 first characters can only be letters and it is used to identify a bank or an institution.

  • The following 2 characters can only be letters too and it should be a country code assigned within ISO 3166-1 alpha-2. The only exception is the code 'XK' used for the Republic of Kosovo.

  • The following 2 characters can be letters or digits. It is used to represent a location (like a city)

  • The last 3 characters are optional and can be letters or digits, generally to represent a branch office. The code 'XXX' is often used to represent the AIN office when the 11 character code is used.

Basic Usage

$validator = new Laminas\Validator\BusinessIdentifierCode();

if ($validator->isValid('DEUTDEFF')) {
    // bic appears to be valid
} else {
    // bic is invalid; print the reasons
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport