Skip to content

A PHP implementation for IBAN value object.

License

Notifications You must be signed in to change notification settings

xafardero/generate-iban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IBAN for PHP

A PHP implementation for IBAN value object.

Build Status StyleCI Scrutinizer Code Quality Code Coverage

Usage

// Generate a Spanish IBAN
$iban = Iban::fromString('ES7809895990446462241825');

Requirements

PHP is required to be compiled with "--enable-bcmath" for some arbitrary precision mathematic checks (IBAN & BBAN).

Installing

Via GitHub

$ git clone [email protected]:xafardero/generate-iban.git

Require the latest version of xafardero/generate-iban with Composer

$ composer require xafardero/generate-iban