PHP code example of phpdev / emlakkatilim

1. Go to this page and download the library: Download phpdev/emlakkatilim library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

phpdev / emlakkatilim example snippets


use Phpdev\EmlakKatilim;

$username = "";
$password = "";
$wsdlUrl = "https://boa.emlakbank.com.tr/BOA.Integration.WCFService/BOA.Integration.AccountStatement/AccountStatementService.svc/Basic";

$emlakKatilim = new EmlakKatilim($username, $password, $wsdlUrl);

$beginDate = "2024-08-05";
$endDate = "2024-08-22";

$response = $emlakKatilim->getAccountStatement($beginDate, $endDate);

$responseArray = json_decode($response, true);

if ($responseArray['statu']) {
    print_r($responseArray['response']);
} else {
    echo "Hata: " . $responseArray['response'];
}