Functions

countries

Returns an array with the names of the countries.

The key of each element is the country code defined in ISO 3166.

package

Default

Response

array

« More »

getCountry

Returns the structure of a country.

package

Default

Arguments

$countryCode

string

Response

array

« More »

sepaCountries

Returns an array with the names of the SEPA countries.

The key of each element is the country code defined in ISO 3166.

package

Default

Response

array

« More »

Functions

bbanCheckDigitTest

Calculate BBAN check digit/s.

package

Default

todo

If you want to implement the algorithm for calculating the check digits of the bank account for your country or for a country that you know, you have to add it like a switch/case option. Please put all your code inside your case option including functions.

Arguments

$country

string

$bban

string

Response

array

array[0]:boolean = True if exist calculation for the country,
array[1]:boolean = True if right check digit/s,
array[2]:string = Check digit/s.

« More »

bbanCountries

Countries with BBAN calculation.

Countries with the BBAN calculation algorithm implemented.

package

Default

todo

If you want to implement the algorithm for calculating the check digits of the bank account for your country or for a country that you know, you have to add to the array this function returns the ISO 3166 code and the country name.

Response

array

« More »

test

Calculate check digit.

package

Default

Arguments

$bbanSlice

string

Response

integer

« More »

Classes, interfaces and traits

Iban

Validate and calculate IBAN and BBAN codes.

« More »

IbanServiceProvider

Bootstrap classes for Iban package.

« More »