2017 © Pedro Peláez
 

library ibanking

Internet Banking PHP 5.6+ library

image

joglomedia/ibanking

Internet Banking PHP 5.6+ library

  • Friday, October 20, 2017
  • by masedi
  • Repository
  • 1 Watchers
  • 2 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

IBanking - Internet Banking

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

Documentation

The documentation is currently under construction., (*2)

You can read here:, (*3)

Installation

Composer

Add ibanking library in to your composer.json or create a new composer.json file:, (*4)

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

Then, tell composer to download the library by running the command:, (*5)

``` bash $ php composer.phar install, (*6)


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 <?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., (*7)

<?php
namespace MasEDI\CekMutasiDemo

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., (*8)

Contribution

Please send your PR on the Github repository to help improve this script., (*9)

DONATION

Buy Me a Bottle of Milk, (*10)

(c) 2017, (*11)

The Versions

20/10 2017

dev-master

9999999-dev https://github.com/joglomedia/ibanking

Internet Banking PHP 5.6+ library

  Sources   Download

GPL-2

The Requires

  • php >=5.6.0
  • ext-curl *

 

The Development Requires

payment gateway bni internet banking ibank cek mutasi bca mandiri ibanking