---
application: "Intervention Validation"
version: "Version 4"
status: "stable"
---

# BIC Rule

## Validate a Business Identifier Code

Validate Business Identifier Codes (BIC/SWIFT) in Laravel with Intervention Validation. Banking code validation.

> public Intervention\Validation\Rules\Bic::__construct()

Checks if the field under validation is a valid [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC).

### Parameters

none

### Example

```php
use Illuminate\Support\Facades\Validator;
use Intervention\Validation\Rules\Bic;

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

---

## Become a Sponsor

### Intervention Validation needs your help to keep the project going

Intervention Validation is non-commercial, open source licensed and completely free to use. The considerable
effort required to maintain and develop the software is only possible with the financial support
of sponsors. There are two ways in which you can support this project.

- Support via [GitHub Sponsors](https://github.com/sponsors/Intervention)
- Support via [Ko-Fi](https://ko-fi.com/interventionphp)