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

Validation component for PHP and Laminas applications. Provides a wide range of ready-to-use validators (strings, numbers, dates, files, and more), consistent error messages, and an extensible API to create custom validators and input filtering rules.

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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai