dev-master
9999999-dev https://github.com/codeChap/fnbPHP First National Bank library
MIT
The Requires
- php >=5.3.0
by Derrick Egersdorfer
fnb first national bank
PHP First National Bank library
You might be more interested in developing for https://root.co.za/, (*1)
First National Bank Transaction Package., (*2)
Use this library at your own risk, I take no responsibility what so ever for the use of it!, (*3)
This script logs into your FNB bank account and pulls all your transactions and puts in a pretty php array., (*4)
Because pulling a full history of my accounts daily allows for a more creative approach to banking and invoicing., (*5)
First national bank was announced the most innovative bank in the world. The next step in the banking evolution would be to have APIs built into our banking systems., (*6)
Probably not very long, its based on the structure of the HTML pages so if FNB change there website to much - this script will fail miserably. So I would not go building complex systems around it. Thats what APIs are for., (*7)
At the time of writing, I have not found anything in FNB's terms and conditions regarding automated login. I will however remove this repository if requested to do so., (*8)
The very, VERY first thing you do is login to FNB as per usual and create a second READ ONLY user for use with this script. The reasons for this are obvious., (*9)
Then use composer to install it or simply include the file somewhere:, (*10)
require("fnb/src/Fnb/Fnb.php"); $fnb = new Fnb\Fnb( array( 'username' => 'readOnlyUser', 'password' => 'readOnlyPassword', 'verbose' => false, 'write' => false ) ); $fnb->pull(); print "<pre>"; print_r($r); print "</pre>";
Ask me on twitter if you have any questions: @codeChap, (*11)
PHP First National Bank library
MIT
fnb first national bank