karlroos/bank

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.1) of this package.

Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB.

0.1 2012-12-24 12:29 UTC

This package is not auto-updated.

Last update: 2022-08-13 16:35:45 UTC


README

Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB.

Usage

Include KarlRoos/bank in your composer.json file for your project and install.

Create an instance of the bank you'd like to use like this:

$seb = new \KarlRoos\Bank\SEB;

Login by calling the login() method:

$seb->login($username, $password);

Fetch accounts by calling the getAccounts() method:

$accounts = $seb->getAccounts();

This method returns an array with \KarlRoos\Bank\Transaction objects. To fetch transactions for a specific account you provide the Transaction object the getTransactions():

$transactions = $seb->getTransactions($accounts[0]);