Giter Club home page Giter Club logo

ibanking's Introduction

IBanking - Internet Banking

Internet Banking client wrapper, useful to check internet banking statements (cek mutasi online) using PHP script.

Documentation

The documentation is currently under construction.

You can read here:

Installation

Composer

Add ibanking library in to your composer.json or create a new composer.json file:

{
    "require": {
        "charlieuki/ibanking": "dev-master"
    }
}

Then, tell composer to download the library by running the command:

$ php composer.phar install

Composer will generate the autoloader file automatically. So you only have to include this. Typically its located in the vendor directory and its called autoload.php

<?php
include('vendor/autoload.php');

Basic Usage

This library is using the PSR-4 standard: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4.md. So you can use any autoloader which fits into this standard. The tests directory contains an example bootstrap file.

<?php
use IBanking\IBanking as IBanking;
use IBanking\IBParser\SampleBankParser as SBParser;

$credentials = [
	'corpid'	=> '',
	'username'	=> 'namauser',
	'password'	=> 'katasandi',
	'account'	=> 'nomor_rekening',
];

$ibanking = new IBanking(new SBParser, $credentials);

$loggedin = $ibanking->login();

var_dump($loggedin);
echo("\r\n");

$balance = $ibanking->getBalance();
var_dump($balance);
echo("\r\n");

$mutasi = $ibanking->getStatements('24/7/2017', '29/7/2017', 'credit');
var_dump($mutasi);
echo("\r\n");

var_dump($ibanking->isLoggedin($session=true));

$ibanking->logout();

For some very simple examples go to the samples directory and have a look at the sample files.

Contribution

Please send your PR on the Github repository to help improve this script.

(c) 2019

ibanking's People

Contributors

charlieuki avatar joglomedia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.