Currently only Latvian Swedbank is supported. Support for EE and LT will be added in near future.
Make sure the curl extension (php5-curl) is installed
sudo apt-get install php5-curl
sudo yum install php5-curl
These two CLI tools are also mandatory: ( netpbm, ocrad )
install on apt-get systems:
sudo apt-get install netpbm
sudo apt-get install ocrad
install on yum based systems:
sudo yum install netpbm
sudo yum install ocrad
Add repository to composer.json file
"repositories":
[
{ "type": "vcs", "url": "https://github.com/xakepsoft/haba-lv-api" }
],
instruct composer to download the latest version
"require":
{
"xakepsoft/haba-lv-api" : "@dev"
}
Just download HabaLV.php and include it in your php file