Download the PHP package todorowww/banking-srb without Composer
On this page you can find all versions of the php package todorowww/banking-srb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download todorowww/banking-srb
More information about todorowww/banking-srb
Files in todorowww/banking-srb
Package banking-srb
Short Description Helper library for use with Serbian financial system. Account number validation, reference number generation, etc.
License MIT
Homepage https://github.com/todorowww/banking-srb
Informations about the package banking-srb
Banking SRB
This library contains useful banking functions in use by banks in Serbia. By the order of the Governor of National Bank of Serbia, account numbers are structured in the following manner:
- 3 digits represent bank ID Fixed value, assigned by the NBS. List, as of 16 April 2018 PDF
- 13 digits represent account number, bank manages this number
- 2 digits represent checksum number, calculated using ISO 7064 MOD 97-10
When payment reference numbers are generated, checksum goes to the front of the number, It is calculated using the same ISO 7064 MOD 97-10 algorithm as bank account number checksum. Reference number must consist only of digits, and if it should include a letter, that letter is transformed into a number, to generate checksum. Conversion follows this pattern: A=10, B=11, C=12, ..., Y = 34, Z = 35.
Installation
Using Composer, install the latest version of this library by issuing this command
composer require todorowww/banking-srb
If you wish to use clean install, without Composer, you can clone this repo:
git clone https://github.com/todorowww/banking-srb.git
All versions of banking-srb with dependencies
ext-bcmath Version *