Download the PHP package gl3nda85/bank-statements-wrapper without Composer

On this page you can find all versions of the php package gl3nda85/bank-statements-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bank-statements-wrapper

BankStatements API Wrapper

This project was created to wrap the json endpoint of bankstatements.com.au, it is intended to make interfacing with your bank accounts / statements easier.

Installation

This project is available to install using composer

$ composer require gl3nda85/bank-statements-wrapper

Basic Usage

Log in and retrieve account information

To use this api, you must contact bankstatements.com.au and purchase an api key off them.

To create an instance of the bankstatement Api you must call it with the following function. A boolean is the second argument for whether to connect to their live server or test server. below connects to the test server set it to false or nothing for the live server.

To login you must pass an instance of the login class to the above bankStatement object. this must contain the slug for the bank eg. Commonwealth Bank of Australia is cba, the client number / username, and the password.

The respose above contains two things an array of accounts and an access token, which you must store locally to further use this API.

The account collection is a collection of all your accounts to get the first account from the stack you can call:

with this first account object you can perform numerous tasks such as getting the account number, bsb, current balance and account holder.

To logout and end your session pass your userToken to a logout object, this function will return true if logged out successfully.

Retrieving Statement Data

Once Logged in, you can retrieve statement data for each of your accounts in the following fashion.

First collecting the Id's of the accounts you would like to get the statement data for. Second creating a new StatementDataRequest using the bank slug for the accounts. Finally calling getStatementData passing in the userToken from the logged in user session and the statementRequest.

The StatementDataRequest has Advanced Options that can be used, such as the amount of days for the statement and creating raw files.

Read the full Api Docs for more information.

From calling the statement function from above you will get a collection of statement data from each account id that was entered. To get the first accounts list of transactions use the following function

To get your day end balance

Bankstatements.com.au scan your bank statements and categorize your transactions into many collections

They have:

To call any of these data sets use functions like these

Contributing

Dylan Aird

History

16/01/2017 Ver 1.0

Credits

Dylan Aird

License

Bankstatements API is released under the MIT License. See the bundled LICENSE file for details.


All versions of bank-statements-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
guzzlehttp/guzzle Version ~5.3|~6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gl3nda85/bank-statements-wrapper contains the following files

Loading the files please wait ....